From owner-freebsd-questions@FreeBSD.ORG Tue Jul 20 10:33:03 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 0DE5D16A4CE for ; Tue, 20 Jul 2004 10:33:03 +0000 (GMT) Received: from ms-smtp-01.tampabay.rr.com (ms-smtp-01-smtplb.tampabay.rr.com [65.32.5.131]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8D4B643D39 for ; Tue, 20 Jul 2004 10:33:02 +0000 (GMT) (envelope-from ka0ttic@butsugenjitemple.org) Received: from morpheus.ka0ttic.dyndns.org (102.201.33.65.cfl.rr.com [65.33.201.102])i6KAWxjK023241 for ; Tue, 20 Jul 2004 06:33:00 -0400 (EDT) Received: from bedlam.ka0ttic.dyndns.org (bedlam [192.168.1.50]) by morpheus.ka0ttic.dyndns.org (Postfix) with ESMTP id 4F2B43A6 for ; Tue, 20 Jul 2004 06:32:59 -0400 (EDT) Received: from [127.0.0.1] (localhost [127.0.0.1]) by bedlam.ka0ttic.dyndns.org (Postfix) with ESMTP id 0D72B4505 for ; Tue, 20 Jul 2004 06:33:04 -0400 (EDT) Message-ID: <40FCA8C0.4080709@butsugenjitemple.org> Date: Tue, 20 Jul 2004 01:08:16 -0400 From: Aaron Walker User-Agent: Mozilla Thunderbird 0.7.1 (X11/20040626) X-Accept-Language: en-us, en MIME-Version: 1.0 To: freebsd-questions@freebsd.org References: <20040719104144.C28390@chylonia.3miasto.net> <20040719101920.GB21175@happy-idiot-talk.infracaninophile.co.uk> In-Reply-To: <20040719101920.GB21175@happy-idiot-talk.infracaninophile.co.uk> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: Symantec AntiVirus Scan Engine 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: Tue, 20 Jul 2004 10:33:03 -0000 Matthew Seaman wrote: > 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 > Just to add to what Matthew said, there is also a manual page for make.conf: $ man make.conf Cheers -- Riffle West Virginia is so small that the Boy Scout had to double as the town drunk. /* Aaron Walker * http://butsugenjitemple.org/~ka0ttic/ */