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 1Ieu07-00080C-VC for garchives@archives.gentoo.org; Mon, 08 Oct 2007 14:54:32 +0000 Received: from robin.gentoo.org (localhost [127.0.0.1]) by robin.gentoo.org (8.14.1/8.14.0) with SMTP id l98EhPdo021439; Mon, 8 Oct 2007 14:43:25 GMT Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) by robin.gentoo.org (8.14.1/8.14.0) with ESMTP id l98Eer0V017984 for ; Mon, 8 Oct 2007 14:40:54 GMT Received: from localhost (localhost [127.0.0.1]) by smtp.gentoo.org (Postfix) with ESMTP id 60BC864E2D for ; Mon, 8 Oct 2007 14:40:53 +0000 (UTC) X-Virus-Scanned: amavisd-new at gentoo.org X-Spam-Score: -1.06 X-Spam-Level: X-Spam-Status: No, score=-1.06 required=5.5 tests=[AWL=0.050, BAYES_05=-1.11] Received: from smtp.gentoo.org ([127.0.0.1]) by localhost (smtp.gentoo.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id JIIkavL0rnJm for ; Mon, 8 Oct 2007 14:40:46 +0000 (UTC) Received: from ciao.gmane.org (main.gmane.org [80.91.229.2]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTP id AC4F664FE1 for ; Mon, 8 Oct 2007 14:40:44 +0000 (UTC) Received: from list by ciao.gmane.org with local (Exim 4.43) id 1IetmO-0000bm-Ou for gentoo-dev@gentoo.org; Mon, 08 Oct 2007 14:40:20 +0000 Received: from static24-72-113-196.yorkton.accesscomm.ca ([24.72.113.196]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 08 Oct 2007 14:40:20 +0000 Received: from dirtyepic by static24-72-113-196.yorkton.accesscomm.ca with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 08 Oct 2007 14:40:20 +0000 X-Injected-Via-Gmane: http://gmane.org/ To: gentoo-dev@lists.gentoo.org From: Ryan Hill Subject: [gentoo-dev] Re: use flags -> use options Date: Mon, 08 Oct 2007 08:40:02 -0600 Message-ID: References: <47090820.7060506@gentoo.org> <20071007200938.7e1cebb3@gentoo.org> <20071007191225.GB10856@eric.schwarzvogel.de> <20071008044348.a5fc3297.genone@gentoo.org> <470A1840.10505@gentoo.org> 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 Content-Type: text/plain; charset=UTF-8 X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: static24-72-113-196.yorkton.accesscomm.ca User-Agent: Thunderbird 2.0.0.6 (X11/20070923) In-Reply-To: <470A1840.10505@gentoo.org> Sender: news Content-Transfer-Encoding: quoted-printable X-MIME-Autoconverted: from 8bit to quoted-printable by robin.gentoo.org id l98EhPfX021439 X-Archives-Salt: 87baf717-baa1-4d7e-8e3a-262c78ed0cde X-Archives-Hash: 3e0d4605da11bd0e88b14a219325de32 Marijn Schouten (hkBst) wrote: > Marius Mauch wrote: >> 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. =20 > No, USE_EXPAND is only a way to abbreviate use flags with a common subs= tring > in their name, such as "impl_guile impl_sbcl impl_clisp" which could be > encoded interchangeably as either You're kidding, right? > USE EXPAND De=EF=AC=81nes a list of variables which are to be treated i= ncrementally and who > contents are to be expanded into the USE variable as passed to eb= uilds. Expansion=20 > done as per Algorithm 2. So, for example, if USE EXPAND contains = =E2=80=98ALSA CARDS=E2=80=99, an > the ALSA CARDS variable contains =E2=80=98foo=E2=80=99, =E2=80=98= alsa_cards_foo=E2=80=99 will be appended to USE. > Algorithm 2: USE EXPAND logic > for each variable V listed in USE EXPAND do > for each token T in V do > append v_T to USE, where v is the lowercase of V > end for > end for --=20 fonts / wxWindows / gcc-porting / treecleaners EFFD 380E 047A 4B51 D2BD C64F 8AA8 8346 F9A4 0662 (0xF9A40662) --=20 gentoo-dev@gentoo.org mailing list