Add CONFIGURE_ARGS option for port in make.conf

Polytropon freebsd at edvax.de
Thu Aug 7 21:51:43 UTC 2008


On Thu, 07 Aug 2008 16:04:46 +0200, Matthias Kellermann <mk at adminlife.net> wrote:
> Thanks, but I thought CONFIGURE_ARGS+= should add this option and not 
> overwrite the options from the Makefile. Therefore the plus-sign.

As it has been mentioned before, /etc/make.conf is read
first with your +=, setting CONFIGURE_ARGS to only this
one value. Then, Makefile of the port is read, and it
has a = in it, not a +=, so CONFIGURE_ARGS is overwritten
and your setting is gone.

Hint:

Maybe the Makefile.local mechanism of the ports is still
available. Then, you would add your += directive in a file
called Makefile.local in the port's directory. As far is I
know, Makefile.local is read after Makefile, so you can
profit from settings done in the first mentioned place.

-- 
Polytropon
>From Magdeburg, Germany
Happy FreeBSD user since 4.0
Andra moi ennepe, Mousa, ...


More information about the freebsd-questions mailing list