KMODDIR needs to be fixed [was: Re: [QAT] r332657: 4x leftovers]

Bernhard Fröhlich decke at FreeBSD.org
Mon Nov 4 07:46:04 UTC 2013


Am 04.11.2013 02:20 schrieb "Ports-QAT" <qat at redports.org>:
>
> Explicitly set KMODDIR to /boot/modules to avoid picking up /boot/kernel
> as KMODDIR from /usr/share/mk/bsd.own.mk included by the distribution
> Makefile.

Yeah I have noticed the same problem with vbox some months ago when I tried
to support overriding KMODDIR. This would be needed by some jails that have
a read only /boot.
I think we should fix this properly now that we have you new USES=kernsrc.
We can either introduce a new variable PORTSKMODDIR or we hack/fix
bsd.own.mk.


More information about the freebsd-ports mailing list