From owner-freebsd-questions@FreeBSD.ORG Fri Aug 8 06:32:41 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 507051065683 for ; Fri, 8 Aug 2008 06:32:41 +0000 (UTC) (envelope-from mk@adminlife.net) Received: from mx.adminlife.net (mx.adminlife.net [85.214.17.98]) by mx1.freebsd.org (Postfix) with ESMTP id 107B28FC13 for ; Fri, 8 Aug 2008 06:32:40 +0000 (UTC) (envelope-from mk@adminlife.net) Received: from [192.168.0.51] (p54881DA9.dip0.t-ipconnect.de [84.136.29.169]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) (Authenticated sender: matthias@adminlife.net) by mx.adminlife.net (Postfix) with ESMTPSA id E4D4C125401 for ; Fri, 8 Aug 2008 08:32:22 +0200 (CEST) Message-ID: <489BE887.8000308@adminlife.net> Date: Fri, 08 Aug 2008 08:32:39 +0200 From: Matthias Kellermann User-Agent: Thunderbird 2.0.0.16 (X11/20080724) MIME-Version: 1.0 To: freebsd-questions@freebsd.org References: <489AAC87.8040200@adminlife.net> <20080807142126.1b67ceb4@gumby.homeunix.com.> <489B00FE.4020605@adminlife.net> <20080807235140.524771ea.freebsd@edvax.de> In-Reply-To: <20080807235140.524771ea.freebsd@edvax.de> X-Enigmail-Version: 0.95.6 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: Add CONFIGURE_ARGS option for port in make.conf X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 08 Aug 2008 06:32:41 -0000 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 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. Thanks for your hint. This worked fine. Nevertheless it would be a good thing to keep this kind of port modifications in a central place. Regards, Matthias