From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from lists.gentoo.org ([140.105.134.102] helo=robin.gentoo.org) by nuthatch.gentoo.org with esmtp (Exim 4.43) id 1EKGA9-0001BU-U0 for garchives@archives.gentoo.org; Tue, 27 Sep 2005 14:10:30 +0000 Received: from robin.gentoo.org (localhost [127.0.0.1]) by robin.gentoo.org (8.13.5/8.13.5) with SMTP id j8RE2kst020412; Tue, 27 Sep 2005 14:02:46 GMT Received: from kitos-powerbook-g4-17.local (cpe-24-27-15-174.austin.res.rr.com [24.27.15.174]) by robin.gentoo.org (8.13.5/8.13.5) with ESMTP id j8RDxxVN001901 for ; Tue, 27 Sep 2005 13:59:59 GMT Received: from [127.0.0.1] (localhost [127.0.0.1]) by kitos-powerbook-g4-17.local (Postfix) with ESMTP id 99880C7D3B for ; Tue, 27 Sep 2005 09:07:01 -0500 (CDT) 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 (Apple Message framework v738.1) In-Reply-To: <200509271544.17173@enterprise.flameeyes.is-a-geek.org> References: <200509271823.25788.jstubbs@gentoo.org> <200509271242.05438@enterprise.flameeyes.is-a-geek.org> <200509272151.17297.jstubbs@gentoo.org> <200509271544.17173@enterprise.flameeyes.is-a-geek.org> Content-Type: text/plain; charset=ISO-8859-1; delsp=yes; format=flowed Message-Id: <843E5A1C-7514-4E4F-891B-999E57CA8D0C@gentoo.org> From: Kito Subject: Re: [gentoo-dev] Dirt: To shove under the rug or not shove under the rug? (aka another round of USE_EXPAND) Date: Tue, 27 Sep 2005 09:07:00 -0500 To: gentoo-dev@lists.gentoo.org X-Mailer: Apple Mail (2.738.1) X-MIME-Autoconverted: from quoted-printable to 8bit by robin.gentoo.org id j8RDxxVN001901 Content-Transfer-Encoding: quoted-printable X-MIME-Autoconverted: from 8bit to quoted-printable by robin.gentoo.org id j8RE2kuV020412 X-Archives-Salt: a04815c0-6614-4d18-87db-153106d4af9b X-Archives-Hash: e2560252a7e5a944fa24c66ff7398ebe On Sep 27, 2005, at 8:44 AM, Diego 'Flameeyes' Petten=F2 wrote: > On Tuesday 27 September 2005 14:51, Jason Stubbs wrote: >> Variables are _not_ fine. I would think it should be clear to =20 >> everybody by >> now that ebuilds can not pick random things from the computer they =20 >> are >> installing on to define how they will build. > > I still think that to users it shouldn't give a damn about ELIBC, =20 > USERLAND and > KERNEL, as they can just be mislead by thinking that they can =20 > change anything > about that.. > > How we can test for and condition dependencies with special =20 > profiles others > than this way? [Portage devs please don't throw rocks at me] My impression of the userland, elibc, and kernel use expanded vars is =20 it was a quick way to sidestep some of the issues with GLEP22... it =20 would seem the full keywords have still not been taken advantage of. =20 From the ebuild perspective, if the profile has a keyword of x86-=20 fbsd-bsd-fbsd, there is no clean way to just do a conditional based =20 on a 'Keyword Fragment' as there are obviously namespace collisions. Ideal to me would be syntax something like: kernel !fbsd && foo libc glibc || bar userland darwin && boof Probably not feasible, but seems the cleanest in the context of =20 ebuilds IMHO. --Kito --=20 gentoo-dev@gentoo.org mailing list