Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 7 Aug 2008 23:51:40 +0200
From:      Polytropon <freebsd@edvax.de>
To:        Matthias Kellermann <mk@adminlife.net>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: Add CONFIGURE_ARGS option for port in make.conf
Message-ID:  <20080807235140.524771ea.freebsd@edvax.de>
In-Reply-To: <489B00FE.4020605@adminlife.net>
References:  <489AAC87.8040200@adminlife.net> <20080807142126.1b67ceb4@gumby.homeunix.com.> <489B00FE.4020605@adminlife.net>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, 07 Aug 2008 16:04:46 +0200, Matthias Kellermann <mk@adminlife.net> 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 +=, 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.

-- 
Polytropon
>From Magdeburg, Germany
Happy FreeBSD user since 4.0
Andra moi ennepe, Mousa, ...



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20080807235140.524771ea.freebsd>