Re: Add CONFIGURE_ARGS option for port in make.conf

2008-08-08 Thread Matthias Kellermann
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

Add CONFIGURE_ARGS option for port in make.conf

2008-08-07 Thread Matthias Kellermann
Hi list, I want to compile a port with an option that is not controllable through the FreeBSD Makefile or with make config. The specific port is lang/php4 and the option I want to add is --with-mime-magic (I know, php4 is old and not supported after 8.8.08 and --with-mime-magic is

Re: Add CONFIGURE_ARGS option for port in make.conf

2008-08-07 Thread RW
On Thu, 07 Aug 2008 10:04:23 +0200 Matthias Kellermann [EMAIL PROTECTED] 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}

Re: Add CONFIGURE_ARGS option for port in make.conf

2008-08-07 Thread Matthias Kellermann
RW wrote: On Thu, 07 Aug 2008 10:04:23 +0200 Matthias Kellermann [EMAIL PROTECTED] 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}

Re: Add CONFIGURE_ARGS option for port in make.conf

2008-08-07 Thread Martin Tournoij
On Thu, Aug 07, 2008 at 10:04:23AM +0200, Matthias Kellermann wrote: Hi list, I want to compile a port with an option that is not controllable through the FreeBSD Makefile or with make config. The specific port is lang/php4 and the option I want to add is --with-mime-magic (I know, php4

Re: Add CONFIGURE_ARGS option for port in make.conf

2008-08-07 Thread Polytropon
On Thu, 07 Aug 2008 16:04:46 +0200, Matthias Kellermann [EMAIL PROTECTED] 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 +=,