From owner-freebsd-stable@FreeBSD.ORG Sat Mar 10 21:39:31 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 93C4416A400 for ; Sat, 10 Mar 2007 21:39:31 +0000 (UTC) (envelope-from rsmith@xs4all.nl) Received: from smtp-vbr10.xs4all.nl (smtp-vbr10.xs4all.nl [194.109.24.30]) by mx1.freebsd.org (Postfix) with ESMTP id 304D913C461 for ; Sat, 10 Mar 2007 21:39:30 +0000 (UTC) (envelope-from rsmith@xs4all.nl) Received: from slackbox.xs4all.nl (slackbox.xs4all.nl [213.84.242.160]) by smtp-vbr10.xs4all.nl (8.13.8/8.13.8) with ESMTP id l2ALdTaW010158; Sat, 10 Mar 2007 22:39:30 +0100 (CET) (envelope-from rsmith@xs4all.nl) Received: by slackbox.xs4all.nl (Postfix, from userid 1001) id 73630B82D; Sat, 10 Mar 2007 22:39:29 +0100 (CET) Date: Sat, 10 Mar 2007 22:39:29 +0100 From: Roland Smith To: Daniel Mouritsen Message-ID: <20070310213929.GA50901@slackbox.xs4all.nl> Mail-Followup-To: Daniel Mouritsen , freebsd-stable@freebsd.org References: MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="XsQoSWH+UP9D9v3l" Content-Disposition: inline In-Reply-To: X-GPG-Fingerprint: 1A2B 477F 9970 BA3C 2914 B7CE 1277 EFB0 C321 A725 X-GPG-Key: http://www.xs4all.nl/~rsmith/pubkey.txt X-GPG-Notice: If this message is not signed, don't assume I sent it! User-Agent: Mutt/1.5.14 (2007-02-12) X-Virus-Scanned: by XS4ALL Virus Scanner Cc: freebsd-stable@freebsd.org 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: Sat, 10 Mar 2007 21:39:31 -0000 --XsQoSWH+UP9D9v3l Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable 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 shou= ld > 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: =2Eif ${.CURDIR:M*/www/apache22} WITH_CATEGORY1_MODULES=3Dyes WITH_CATEGORY2_MODULES=3Dyes =2Eendif This effectively sets the variables whenever make is invoked in a directory that ends with www/apache22. See make(1). Roland --=20 R.F.Smith http://www.xs4all.nl/~rsmith/ [plain text _non-HTML_ PGP/GnuPG encrypted/signed email much appreciated] pgp: 1A2B 477F 9970 BA3C 2914 B7CE 1277 EFB0 C321 A725 (KeyID: C321A725) --XsQoSWH+UP9D9v3l Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.3 (FreeBSD) iD8DBQFF8yWREnfvsMMhpyURAthHAJ4grptxFVgxuvPmZH+ukJgyEjgG6wCfaNye TlXw68QFtK2pzZCrzuHm4QQ= =SxOK -----END PGP SIGNATURE----- --XsQoSWH+UP9D9v3l--