Re: buildkernel doesn't respect PORTSDIR with PORTS_MODULES

From: Juraj Lutter <otis_at_FreeBSD.org>
Date: Thu, 24 Nov 2022 14:19:47 UTC

> On 24 Nov 2022, at 15:16, Juraj Lutter <otis@FreeBSD.org> wrote:
>> 
>> bsd.port.mk and bsd.port.subdir.mk use _PORTSDIR.  You could try adding
>> that to your list.
>> 
> 
> PORTS_MODULES are being built from within kern.post.mk. I’d put PORTSDIR into src-env.conf instead of /etc/src.conf, for that purpose.

Fingers are quicker than the brain: I’d put PORTSDIR into /etc/src.conf instead of /etc/make.conf for that purpose.

otis

—
Juraj Lutter
otis@FreeBSD.org