From owner-freebsd-questions@FreeBSD.ORG Wed Jan 7 03:41:59 2004 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6F8D916A4CE for ; Wed, 7 Jan 2004 03:41:59 -0800 (PST) Received: from smtp.infracaninophile.co.uk (smtp.infracaninophile.co.uk [81.2.69.218]) by mx1.FreeBSD.org (Postfix) with ESMTP id C4F2A43D41 for ; Wed, 7 Jan 2004 03:41:56 -0800 (PST) (envelope-from m.seaman@infracaninophile.co.uk) Received: from happy-idiot-talk.infracaninophile.co.uk (localhost [127.0.0.1]) i07BWLN2087081 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Wed, 7 Jan 2004 11:32:23 GMT (envelope-from matthew@happy-idiot-talk.infracaninophile.co.uk) Received: (from matthew@localhost)id i07BWL4x087080; Wed, 7 Jan 2004 11:32:21 GMT (envelope-from matthew) Date: Wed, 7 Jan 2004 11:32:21 +0000 From: Matthew Seaman To: August Simonelli , FreeBSD-questions Message-ID: <20040107113221.GA86459@happy-idiot-talk.infracaninophile.co.uk> Mail-Followup-To: Matthew Seaman , August Simonelli , FreeBSD-questions References: <325C172F-403C-11D8-9654-000A95A55144@swiftdsl.com.au> <20040106125221.GB14422@happy-idiot-talk.infracaninophile.co.uk> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="cWoXeonUoKmBZSoM" Content-Disposition: inline In-Reply-To: <20040106125221.GB14422@happy-idiot-talk.infracaninophile.co.uk> User-Agent: Mutt/1.5.5.1i X-Spam-Status: No, hits=-4.9 required=5.0 tests=AWL,BAYES_00 autolearn=ham version=2.61 X-Spam-Checker-Version: SpamAssassin 2.61 (1.212.2.1-2003-12-09-exp) on happy-idiot-talk.infracaninophile.co.uk Subject: Re: changing configure options when using a port X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 07 Jan 2004 11:41:59 -0000 --cWoXeonUoKmBZSoM Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, Jan 06, 2004 at 12:52:21PM +0000, Matthew Seaman wrote: > To apply these options without having to remember to type them in on > the command line all the time, you can create a 'Makefile.inc' in the > port directory which just contains the 'WITH_FOO=3Dbar' variable > assignments, or you can use portupgrade(1) and record these > customizations in it's pkgtools.conf configuration file. Oops. Slight correction here. You should create 'Makefile.local' rather than 'Makefile.inc' -- in the vast majority of cases it will work either way, but 'Makefile.inc' is reserved for automatically generated Makefiles produced as part of the configuration process, as seen in eg. the net/samba port. 'Makefile.local' is guarranteed not to be unconditionally overwritten by the internal workings of the ports system. Cheers, Matthew --=20 Dr Matthew J Seaman MA, D.Phil. 26 The Paddocks Savill Way PGP: http://www.infracaninophile.co.uk/pgpkey Marlow Tel: +44 1628 476614 Bucks., SL7 1TH UK --cWoXeonUoKmBZSoM Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (FreeBSD) iD8DBQE/++5FdtESqEQa7a0RAt/ZAJ4guddxayBbeqw4LW3VGX1Dt4R4zwCeJ3Aw GzK1TkMFDdyANffc/ZqBz4o= =i86S -----END PGP SIGNATURE----- --cWoXeonUoKmBZSoM--