Date: Fri, 08 Aug 2008 08:32:39 +0200 From: Matthias Kellermann <mk@adminlife.net> To: freebsd-questions@freebsd.org Subject: Re: Add CONFIGURE_ARGS option for port in make.conf Message-ID: <489BE887.8000308@adminlife.net> In-Reply-To: <20080807235140.524771ea.freebsd@edvax.de> References: <489AAC87.8040200@adminlife.net> <20080807142126.1b67ceb4@gumby.homeunix.com.> <489B00FE.4020605@adminlife.net> <20080807235140.524771ea.freebsd@edvax.de>
next in thread | previous in thread | raw e-mail | index | archive | help
Polytropon wrote: > 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. Thanks for your hint. This worked fine. Nevertheless it would be a good thing to keep this kind of port modifications in a central place. Regards, Matthias
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?489BE887.8000308>