Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 24 Nov 2022 15:16:06 +0100
From:      Juraj Lutter <otis@FreeBSD.org>
To:        garyj@gmx.de
Cc:        freebsd-current@freebsd.org
Subject:   Re: buildkernel doesn't respect PORTSDIR with PORTS_MODULES
Message-ID:  <1F9E0B41-A7A8-4D81-9777-2AB4FC1F5E8F@FreeBSD.org>
In-Reply-To: <20221124150532.1a231863@ernst.home>
References:  <CAFDf7UJ8Yc-T0aDQ%2BCvOrrnmRR8F3WemPsAHCO7qQGgLAmQRYQ@mail.gmail.com> <20221124150532.1a231863@ernst.home>

next in thread | previous in thread | raw e-mail | index | archive | help


> On 24 Nov 2022, at 15:05, Gary Jennejohn <garyj@gmx.de> wrote:
>=20
> On Thu, 24 Nov 2022 12:02:35 +0000
> Nuno Teixeira <eduardo@freebsd.org> wrote:
>=20
>> Hello,
>>=20
>> I'm trying PORT_MODULES with make.conf:
>> ---
>> PORTSDIR=3D/work/freebsd/ports
>> DISTDIR=3D/work/DISTFILES
>> PORTS_MODULES=3Dgraphics/drm-kmod x11/nvidia-driver
>>=20
>=20
> bsd.port.mk and bsd.port.subdir.mk use _PORTSDIR.  You could try =
adding
> that to your list.
>=20

PORTS_MODULES are being built from within kern.post.mk. I=E2=80=99d put =
PORTSDIR into src-env.conf instead of /etc/src.conf, for that purpose.

=E2=80=94
Juraj Lutter
otis@FreeBSD.org




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1F9E0B41-A7A8-4D81-9777-2AB4FC1F5E8F>