From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from lists.gentoo.org ([140.105.134.102] helo=robin.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1IerD3-0000Ab-85 for garchives@archives.gentoo.org; Mon, 08 Oct 2007 11:55:41 +0000 Received: from robin.gentoo.org (localhost [127.0.0.1]) by robin.gentoo.org (8.14.1/8.14.0) with SMTP id l98BjHtn003107; Mon, 8 Oct 2007 11:45:17 GMT Received: from pollux.sshunet.nl (pollux.sshunet.nl [145.97.192.42]) by robin.gentoo.org (8.14.1/8.14.0) with ESMTP id l98BhO3j000793 for ; Mon, 8 Oct 2007 11:43:25 GMT Received: from localhost (localhost.localdomain [127.0.0.1]) by pollux.sshunet.nl (Postfix) with ESMTP id D371758001B for ; Mon, 8 Oct 2007 13:43:24 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at pollux.warande.net Received: from pollux.sshunet.nl ([127.0.0.1]) by localhost (pollux.sshunet.nl [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id GROfaAzh-2ZN for ; Mon, 8 Oct 2007 13:43:24 +0200 (CEST) Received: from [145.97.222.138] (138pc222.sshunet.nl [145.97.222.138]) by pollux.sshunet.nl (Postfix) with ESMTP for ; Mon, 8 Oct 2007 13:43:24 +0200 (CEST) Message-ID: <470A1840.10505@gentoo.org> Date: Mon, 08 Oct 2007 13:45:04 +0200 From: "Marijn Schouten (hkBst)" User-Agent: Thunderbird 2.0.0.6 (X11/20070802) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-dev@gentoo.org Reply-to: gentoo-dev@lists.gentoo.org MIME-Version: 1.0 To: gentoo-dev@lists.gentoo.org Subject: Re: [gentoo-dev] Re: use flags -> use options References: <47090820.7060506@gentoo.org> <20071007200938.7e1cebb3@gentoo.org> <20071007191225.GB10856@eric.schwarzvogel.de> <20071008044348.a5fc3297.genone@gentoo.org> In-Reply-To: <20071008044348.a5fc3297.genone@gentoo.org> X-Enigmail-Version: 0.95.3 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Archives-Salt: a8227bcb-8dab-4fd2-bed1-c9ec54be524c X-Archives-Hash: c113d0bbb7a1dbdb20ca15f1d36d496b -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Marius Mauch wrote: >>> "Marijn Schouten (hkBst)" : >>>> I imagine there are a lot more cases where the simple on/off >>>> system we have now is suboptimal. I could be wrong of course. >>>> Please comment. >>> This key=value systems sounds interesting. Another use could be >>> the choice between xulrunner, seamonkey, firefox. > > We already have this with USE_EXPAND. Not exactly the same syntax, but > I don't see a terrible problem in that, and we don't have to fix all > three trillion related tools to handle it. Unless you can come up > with a case that can't be handled with USE_EXPAND. No, USE_EXPAND is only a way to abbreviate use flags with a common substring in their name, such as "impl_guile impl_sbcl impl_clisp" which could be encoded interchangeably as either # without USE_EXPAND IUSE="impl_guile impl_sbcl impl_clisp" or # with USE_EXPAND for impl in IMPL; do IUSE+="impl_${impl}"; done but the effect is that there are 3 use flags with a total of 2^3=8 combinations, while really something with exactly 3 combinations is needed: IUSE="impl" case ${impl} in guile) #use guile as backend sbcl) #use sbcl as backend clisp) #use clisp as backend or something like that. Marijn - -- Marijn Schouten (hkBst), Gentoo Lisp project , #gentoo-lisp on FreeNode -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.7 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFHChhAp/VmCx0OL2wRArxWAKCWfciDl5XihPOoiI/01J3DjGGpqgCdFJxV 9n89OMcqxqD4JqFTPDGt12o= =njyU -----END PGP SIGNATURE----- -- gentoo-dev@gentoo.org mailing list