From owner-freebsd-stable@FreeBSD.ORG Mon Mar 12 20:48:38 2007 Return-Path: X-Original-To: freebsd-stable@freebsd.org Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 1DA7816A400 for ; Mon, 12 Mar 2007 20:48:38 +0000 (UTC) (envelope-from dougb@FreeBSD.org) Received: from mail2.fluidhosting.com (mx24.fluidhosting.com [204.14.89.7]) by mx1.freebsd.org (Postfix) with SMTP id AFBC013C469 for ; Mon, 12 Mar 2007 20:48:37 +0000 (UTC) (envelope-from dougb@FreeBSD.org) Received: (qmail 5008 invoked by uid 399); 12 Mar 2007 20:48:37 -0000 Received: from localhost (HELO lap.dougb.net) (dougb@dougbarton.us@127.0.0.1) by localhost with SMTP; 12 Mar 2007 20:48:37 -0000 X-Originating-IP: 127.0.0.1 Message-ID: <45F5BCA3.4000603@FreeBSD.org> Date: Mon, 12 Mar 2007 13:48:35 -0700 From: Doug Barton Organization: http://www.FreeBSD.org/ User-Agent: Thunderbird 2.0b2 (X11/20070116) MIME-Version: 1.0 To: Daniel Mouritsen , freebsd-stable@freebsd.org References: <20070310213929.GA50901@slackbox.xs4all.nl> In-Reply-To: <20070310213929.GA50901@slackbox.xs4all.nl> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: Subject: Re: Another newbie question, about makefile options X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 12 Mar 2007 20:48:38 -0000 Roland Smith wrote: > On Sat, Mar 10, 2007 at 08:28:45PM +0100, Daniel Mouritsen wrote: >> So my question is, should i pass the makefile options only when running >> "make" to compile the program (that would make sence wouldnt it?) or should >> i use them everytime i run make as in both when doing "make" and "make >> install clean". > > You can put the options in /etc/make.conf. That way you can't forget them > when you're (re)building a port. For example, for apache22 you could put > the following in /etc/make.conf: > > .if ${.CURDIR:M*/www/apache22} > WITH_CATEGORY1_MODULES=yes > WITH_CATEGORY2_MODULES=yes > .endif > > This effectively sets the variables whenever make is invoked in a > directory that ends with www/apache22. See make(1). See also ports-mgmt/portconf -- This .signature sanitized for your protection