Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 24 Nov 2022 15:05:32 +0100
From:      Gary Jennejohn <garyj@gmx.de>
To:        freebsd-current@freebsd.org
Subject:   Re: buildkernel doesn't respect PORTSDIR with PORTS_MODULES
Message-ID:  <20221124150532.1a231863@ernst.home>
In-Reply-To: <CAFDf7UJ8Yc-T0aDQ%2BCvOrrnmRR8F3WemPsAHCO7qQGgLAmQRYQ@mail.gmail.com>
References:  <CAFDf7UJ8Yc-T0aDQ%2BCvOrrnmRR8F3WemPsAHCO7qQGgLAmQRYQ@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, 24 Nov 2022 12:02:35 +0000
Nuno Teixeira <eduardo@freebsd.org> wrote:

> Hello,
>
> 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
> ---
> and `make buildkernel` fails:
> ---
> linking kernel.full
> ctfmerge -L VERSION -g -o kernel.full ...
>       text      data       bss        dec         hex   filename
>   22977071   1848409   4437760   29263240   0x1be8588   kernel.full
> cd: /usr/ports/graphics/drm-kmod: No such file or directory
> ---
>
> Any hint?
> Thanks,
>

bsd.port.mk and bsd.port.subdir.mk use _PORTSDIR.  You could try adding
that to your list.

=2D-
Gary Jennejohn



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20221124150532.1a231863>