From owner-freebsd-current@FreeBSD.ORG Sat Jun 5 01:09:12 2010 Return-Path: Delivered-To: freebsd-current@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 626061065672 for ; Sat, 5 Jun 2010 01:09:12 +0000 (UTC) (envelope-from scf@FreeBSD.org) Received: from mail.farley.org (mail.farley.org [IPv6:2001:470:1f0f:20:2::11]) by mx1.freebsd.org (Postfix) with ESMTP id 0D9B58FC0A for ; Sat, 5 Jun 2010 01:09:11 +0000 (UTC) Received: from thor.farley.org (HPooka@thor.farley.org [IPv6:2001:470:1f0f:20:1::5]) by mail.farley.org (8.14.4/8.14.4) with ESMTP id o5519A2s055410; Fri, 4 Jun 2010 20:09:10 -0500 (CDT) (envelope-from scf@FreeBSD.org) Date: Fri, 4 Jun 2010 20:09:10 -0500 (CDT) From: "Sean C. Farley" To: Freddie Cash In-Reply-To: Message-ID: References: <4C093E01.7020909@FreeBSD.org> <4C0987A6.5010109@FreeBSD.org> User-Agent: Alpine 2.00 (BSF 1167 2008-08-23) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-Spam-Status: No, score=-1.4 required=4.0 tests=AWL,BAYES_00,SPF_SOFTFAIL autolearn=no version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.farley.org Cc: FreeBSD-Current Subject: Re: 'buildworld' not always pulling in /etc/src.conf X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 05 Jun 2010 01:09:12 -0000 On Fri, 4 Jun 2010, Freddie Cash wrote: > On Fri, Jun 4, 2010 at 4:09 PM, Doug Barton wrote: > >> ports-mgmt/portconf. > > portconf has horrible syntax, compared to make.conf/src.conf, at least > last I tried to use it (when it first came out). And this is geared > more toward per-port configuration settings. ports.conf would be for > global settings for the whole ports tree, stuff that affects multiple > ports. Things like WITH{OUT}_X11, WITH{OUT}_GNOME, CPUTYPE, perl > version info, selecting a default python version, etc. > > Of course, if it's grown those features (global ports settings), then > this whole discussion is moot, as one can just ignore make.conf, and > use src.conf/portconf config file. portconf ties itself into make.conf. It does have global port settings and basically anything that can handle a glob. For a partial example: *: PYTHON_DEFAULT_VERSION=python2.6 |\ SRC_BASE=/usr/FreeBSD/branches/stable/8/src |\ SYSDIR=/usr/FreeBSD/branches/stable/8/src/sys |\ WITH_NVIDIA_GL java/eclipse*: WITH_GECKO=xulrunner mail/*pine*: WITH_ISPELL |\ WITH_LDAP |\ WITHOUT_PICO multimedia/mkvtoolnix: WITHOUT_WXGTK=yes pear*: WITH_CTYPE OK. Some of the examples are old (i.e., java/eclipse and WITH_GECKO=xulrunner), but you get the idea. Sean -- scf@FreeBSD.org