From owner-freebsd-questions@FreeBSD.ORG Mon Jul 19 10:19:26 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 7E65116A4CE for ; Mon, 19 Jul 2004 10:19:26 +0000 (GMT) Received: from smtp.infracaninophile.co.uk (ns0.infracaninophile.co.uk [81.2.69.218]) by mx1.FreeBSD.org (Postfix) with ESMTP id BC7ED43D49 for ; Mon, 19 Jul 2004 10:19:25 +0000 (GMT) (envelope-from m.seaman@infracaninophile.co.uk) Received: from happy-idiot-talk.infracaninophile.co.uk (localhost [IPv6:::1]) i6JAJLfa022743 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Mon, 19 Jul 2004 11:19:21 +0100 (BST) (envelope-from matthew@happy-idiot-talk.infracaninophile.co.uk) Received: (from matthew@localhost)id i6JAJKAP022742; Mon, 19 Jul 2004 11:19:20 +0100 (BST) (envelope-from matthew) Date: Mon, 19 Jul 2004 11:19:20 +0100 From: Matthew Seaman To: Wojciech Puchar Message-ID: <20040719101920.GB21175@happy-idiot-talk.infracaninophile.co.uk> Mail-Followup-To: Matthew Seaman , Wojciech Puchar , freebsd-questions@freebsd.org References: <20040719104144.C28390@chylonia.3miasto.net> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="wzJLGUyc3ArbnUjN" Content-Disposition: inline In-Reply-To: <20040719104144.C28390@chylonia.3miasto.net> User-Agent: Mutt/1.5.6i X-Greylist: Message not sent from an IPv4 address, not delayed by milter-greylist-1.5.3 (smtp.infracaninophile.co.uk [0.0.0.0]); Mon, 19 Jul 2004 11:19:21 +0100 (BST) X-Virus-Scanned: clamd / ClamAV version devel-20040705, clamav-milter version 0.74a on smtp.infracaninophile.co.uk X-Virus-Status: Clean X-Spam-Status: No, hits=-4.8 required=5.0 tests=AWL,BAYES_00 autolearn=ham version=2.63 X-Spam-Checker-Version: SpamAssassin 2.63 (2004-01-11) on happy-idiot-talk.infracaninophile.co.uk cc: freebsd-questions@freebsd.org Subject: Re: /etc/make.conf info 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: Mon, 19 Jul 2004 10:19:26 -0000 --wzJLGUyc3ArbnUjN Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Mon, Jul 19, 2004 at 10:42:08AM +0200, Wojciech Puchar wrote: > where can i find info about possible options in make.conf for ports > builder Look at the ports(7) man page and the default make.conf (which is /etc/defaults/make.conf under 4.x, and /usr/share/examples/etc/make.conf in 5.x, or you can look at it in CVS via http://www.freebsd.org/cgi/cvsweb.cgi/src/share/examples/etc/make.conf ) Otherwise, port specific make flags can be found generally by inspecting the Makefiles for each port, or the Makefiles under /usr/ports/Mk. Each of the Makefiles in /usr/ports/Mk has a long pre-amble documenting the various settings available. The convention is that variables starting 'WITH_' 'WITHOUT_' or 'WANT_' are user-settable; variables starting 'USE_' are for the port maintainer to deal with. Any section marked 'OPTIONS' causes the port to generate a popup menu allowing you to set the various flags listed either as 'WITH_FOO' or 'WITHOUT_FOO' -- those values are retained under /var/db/ports so you won't get the menu popup the second or subsequent times you make that port unless you specifically run 'make reconfig'. Note too that there are a number of ports that have variable settings which pre-date this convention: in those cases, you'll have to figure out from context what is user-settable and what isn't. Also note: most people find that using portupgrade(1) and friends to manage their ports gives best results. In which case, you can enter those make variables into the MAKE_ARGS array in /usr/local/etc/pkgtools.conf -- one big advantage of doing that is it allows you to apply the make argument to building a specific port. I don't think there are any such conflicts, but there's no guarrantee that two ports won't use the same make variable with conflicting meanings. 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 --wzJLGUyc3ArbnUjN Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (FreeBSD) iD8DBQFA+6AoiD657aJF7eIRAv/PAJ4w/TRBXWkaP5mYwkTJ1fQTYBd/9QCfRHe9 GSbS9ds7CwBxl2zAx5Wavos= =ThfQ -----END PGP SIGNATURE----- --wzJLGUyc3ArbnUjN--