Date: Thu, 7 Aug 2008 14:21:26 +0100 From: RW <fbsd06@mlists.homeunix.com> To: freebsd-questions@freebsd.org Subject: Re: Add CONFIGURE_ARGS option for port in make.conf Message-ID: <20080807142126.1b67ceb4@gumby.homeunix.com.> In-Reply-To: <489AAC87.8040200@adminlife.net> References: <489AAC87.8040200@adminlife.net>
next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, 07 Aug 2008 10:04:23 +0200 Matthias Kellermann <mk@adminlife.net> wrote: > Hi list, > > I want to compile a port with an option that is not controllable > through the FreeBSD Makefile or with make config. > ... > So I added an option to make.conf(5): > > .if ${.CURDIR:M*/lang/php4} > CONFIGURE_ARGS+=--with-mime-magic > .endif > > Unfortonately, this does not work. >... > Any ideas whats wrong here? make.conf is read before the makefile. The use of "CONFIGURE_ARGS=" in the port makefile means that any change to CONFIGURE_ARGS made in make.conf is lost. I think you'll have to maintain a patch against the port makefile.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20080807142126.1b67ceb4>