Add CONFIGURE_ARGS option for port in make.conf
RW
fbsd06 at mlists.homeunix.com
Thu Aug 7 13:36:49 UTC 2008
On Thu, 07 Aug 2008 10:04:23 +0200
Matthias Kellermann <mk at 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.
More information about the freebsd-questions
mailing list