Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 29 Dec 2001 10:35:41 -0500
From:      Alan Eldridge <alane@geeksrus.net>
To:        "Simon 'corecode' Schubert" <corecode@corecode.ath.cx>
Cc:        Maxim Sobolev <sobomax@FreeBSD.ORG>, jeh@FreeBSD.ORG, mi@aldan.algebra.com, joseph@randomnetworks.com, lioux@FreeBSD.ORG, ports@FreeBSD.ORG
Subject:   Re: PORTOPTIONS 
Message-ID:  <20011229153541.GB52997@wwweasel.geeksrus.net>
In-Reply-To: <20011229155716.37dfba55.corecode@corecode.ath.cx>
References:  <200112282206.fBSM6kf36064@aldan.algebra.com> <1009581412.225.2.camel@notebook> <3C2D18FB.855F80EC@FreeBSD.org> <1009610598.225.7.camel@notebook> <20011229155716.37dfba55.corecode@corecode.ath.cx>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sat, Dec 29, 2001 at 03:57:16PM +0100, Simon 'corecode' Schubert wrote:
>On 29 Dec 2001 09:25:54 +0200 Maxim Sobolev <sobomax@FreeBSD.ORG> wrote:
>> For example:
>> 
>> PORTOPTIONS=	WITH_FOO WITHOUT_BAR
>> 
>> The Makefile obviously should recognize those options, enable/disable
>> approprite features, set sensible PKGNAMESUFFIXes, etc.
>> 
>
>actually there should be 4 packages: standard, +foo, -bar, +foo-bar
>
>this is indeed a good idea and i've been thinking about some kind of
>this a while now. if there is a way to:

>o set all possilbe permutations (can be very much)

Ouch! Umm, let's think about (bento and other) build times.....

>o set all "reasonable" permutations

>o except the mutually exclusive permutations (could result in too much  
>packages tho)

IOW, we need to introduce some kind of conflict management. This ought to be
general enough to handle the case of "don't do foo/spacely -with-sprockets in
conjuction with bar/cogswell --with-cogs".

>also, if the chosen options (in gereral, whilst building) are recorded
>in the package description in /var/db/ there is a easy way to

Yep. What about ports that with dialog/xdialog (like ghostscript-gnu and the
php ports)?

-- 
Alan Eldridge
Pmmfmffmmfmp mmmpppppffmpmfpmpppff $PffMmmPppMpmPpfPpm mfpmmmmmfpmpmpppff.

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




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