Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 4 Jun 2010 20:09:10 -0500 (CDT)
From:      "Sean C. Farley" <scf@FreeBSD.org>
To:        Freddie Cash <fjwcash@gmail.com>
Cc:        FreeBSD-Current <freebsd-current@FreeBSD.org>
Subject:   Re: 'buildworld' not always pulling in /etc/src.conf
Message-ID:  <alpine.BSF.2.00.1006041958410.10348@thor.farley.org>
In-Reply-To: <AANLkTilcJPcJ4JsW5Lzw0ikMZOLUlAAAI_NeZpMjd1E_@mail.gmail.com>
References:  <AANLkTikA4QPoT0e540nCSc0_LAAycIjAOQOGLB-e2BjY@mail.gmail.com> <op.vdojtep843o42p@klevas> <AANLkTilsDmdbqIELw3SkSlOZQ-WzlLjg1bgs2-WhSAQf@mail.gmail.com> <4C093E01.7020909@FreeBSD.org> <AANLkTikdmzgaFgZdMWznWBDWKb_8_Oak1p3Hb41ruTuR@mail.gmail.com> <4C0987A6.5010109@FreeBSD.org> <AANLkTilcJPcJ4JsW5Lzw0ikMZOLUlAAAI_NeZpMjd1E_@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, 4 Jun 2010, Freddie Cash wrote:

> On Fri, Jun 4, 2010 at 4:09 PM, Doug Barton <dougb@freebsd.org> 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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?alpine.BSF.2.00.1006041958410.10348>