From owner-freebsd-questions@FreeBSD.ORG Thu Aug 7 21:51:43 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 829BA1065671 for ; Thu, 7 Aug 2008 21:51:43 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from mx02.qsc.de (mx02.qsc.de [213.148.130.14]) by mx1.freebsd.org (Postfix) with ESMTP id 4179D8FC17 for ; Thu, 7 Aug 2008 21:51:42 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from r55.edvax.de (port-92-195-67-88.dynamic.qsc.de [92.195.67.88]) by mx02.qsc.de (Postfix) with ESMTP id 78DCC16C0037; Thu, 7 Aug 2008 23:51:41 +0200 (CEST) Received: from r55.edvax.de (localhost [127.0.0.1]) by r55.edvax.de (8.14.2/8.14.2) with SMTP id m77Lpek9002072; Thu, 7 Aug 2008 23:51:40 +0200 (CEST) (envelope-from freebsd@edvax.de) Date: Thu, 7 Aug 2008 23:51:40 +0200 From: Polytropon To: Matthias Kellermann 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> Organization: EDVAX X-Mailer: Sylpheed 2.4.7 (GTK+ 2.12.1; i386-portbld-freebsd7.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org 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 Reply-To: Polytropon List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 07 Aug 2008 21:51:43 -0000 On Thu, 07 Aug 2008 16:04:46 +0200, Matthias Kellermann 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, ...