From owner-freebsd-questions@FreeBSD.ORG Sat Nov 27 23:12:44 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 8AA5816A4CE for ; Sat, 27 Nov 2004 23:12:44 +0000 (GMT) Received: from mail3.sa.chariot.net.au (mail3.sa.chariot.net.au [203.87.94.14]) by mx1.FreeBSD.org (Postfix) with ESMTP id EFB8C43D54 for ; Sat, 27 Nov 2004 23:12:43 +0000 (GMT) (envelope-from imoore@picknowl.com.au) Received: from jupiter.picknowl.com.au (jupiter.picknowl.com.au [203.87.94.38]) by mail3.sa.chariot.net.au (Postfix) with ESMTP id 85170A56D3; Sun, 28 Nov 2004 09:42:42 +1030 (CST) Received: from daemon.foo.com (adsl-176-70.swiftdsl.com.au [218.214.176.70]) by jupiter.picknowl.com.au (Postfix) with ESMTP id 97E6B96874; Sun, 28 Nov 2004 09:42:42 +1030 (CST) From: Ian Moore To: freebsd-questions@freebsd.org Date: Sun, 28 Nov 2004 09:42:33 +1030 User-Agent: KMail/1.7.1 References: <20041127225508.GA40229@turingmachine.mentalsiege.net> In-Reply-To: <20041127225508.GA40229@turingmachine.mentalsiege.net> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="nextPart16200832.OVF8Ru8JAg"; protocol="application/pgp-signature"; micalg=pgp-sha1 Content-Transfer-Encoding: 7bit Message-Id: <200411280942.41273.imoore@picknowl.com.au> cc: Adam Fabian Subject: Re: Remembering defines for port upgrades. 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: Sat, 27 Nov 2004 23:12:44 -0000 --nextPart16200832.OVF8Ru8JAg Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline On Sun, 28 Nov 2004 09:25, Adam Fabian wrote: > I've been sticking options like WITHOUT_TTF_BYTECODE_ENABLED=3Dyes (for > freetype2) in /etc/make.conf. It's been working, for the actual > building of the port. The downshot is that it seems to drive the > package tools nuts. (portupgrade makes strange errors, make index > fails). Is there any other/better way to remember build options so > that I don't have to remember them every time I build a port? > I belive /usr/local/etc/pkgtools.conf is the correct place to put port=20 specific switches. Take a look at Dr. Dru's article on ports at=20 http://www.onlamp.com/lpt/a/4165 In particular: > If you ever plan on using portupgrade to upgrade mplayer and wish to use = the=20 same arguments, you have a choice. Either count on your ability to remember= =20 to use the m switch to specify your make arguments with portupgrade: >=20 > =20 > % portupgrade -rRm '-DWITH_GUI' '-DWITH_FREETYPE' mplayer > =20 >=20 > or spend a moment and add those switches to /usr/local/etc/pkgtools.conf: >=20 > =20 > MAKE_ARGS =3D { > 'multimedia/mplayer-*' =3D> 'WITH_GUI=3D1 WITH_FREETYPE=3D1', > } Cheers, =2D-=20 Ian Moore GPG Key: http://homepages.picknowl.com.au/imoore/imoore.asc --nextPart16200832.OVF8Ru8JAg Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.6 (FreeBSD) iD8DBQBBqQnpfITqkXhImmIRAuk5AJ4u/T5iIEpiyo5FR4/VlAYE0+g1FgCdG7W6 KTL/emLWjE0ExA4/pr0/Pt8= =fsyn -----END PGP SIGNATURE----- --nextPart16200832.OVF8Ru8JAg--