Gentoo Archives: gentoo-dev

From: Mike Frysinger <vapier@g.o>
To: gentoo-dev@l.g.o
Subject: Re: [gentoo-dev] Fixing eclass code relying on ${IUSE} greps?
Date: Wed, 14 Sep 2011 19:11:22
Message-Id: CAJaTeTrvSCrMZfiA6qZrzei84rna84Xes_GttnD0D=5i7t3cdw@mail.gmail.com
In Reply to: [gentoo-dev] Fixing eclass code relying on ${IUSE} greps? by "Michał Górny"
On Wed, Sep 14, 2011 at 06:38, Michał Górny wrote:
> As the 'has_iuse' thread worked out, right now PMS doesn't allow us to > grep IUSE for random values during runtime. Thus, all eclasses using > that to enable features per ebuild-defined IUSE are broken.
this statement isnt exactly clear. no, eclasses cannot leverage IUSE from ebuilds (and vice versa). but eclasses/ebuilds can leverage their own IUSE value. -mike

Replies

Subject Author
Re: [gentoo-dev] Fixing eclass code relying on ${IUSE} greps? "Michał Górny" <mgorny@g.o>