Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 07 Aug 2008 16:04:46 +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:  <489B00FE.4020605@adminlife.net>
In-Reply-To: <20080807142126.1b67ceb4@gumby.homeunix.com.>
References:  <489AAC87.8040200@adminlife.net> <20080807142126.1b67ceb4@gumby.homeunix.com.>

next in thread | previous in thread | raw e-mail | index | archive | help
RW wrote:
> 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.

Thanks, but I thought CONFIGURE_ARGS+= should add this option and not 
overwrite the options from the Makefile. Therefore the plus-sign.

Regards,
Matthias



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?489B00FE.4020605>