Gentoo Archives: gentoo-dev

From: Justin <jlec@g.o>
To: gentoo-dev@l.g.o
Subject: Re: [gentoo-dev] Re: RFC: fortran-2.eclass to depend on virtual/fortran
Date: Wed, 10 Oct 2012 05:06:11
Message-Id: 507501F6.4030707@gentoo.org
In Reply to: Re: [gentoo-dev] Re: RFC: fortran-2.eclass to depend on virtual/fortran by Mike Frysinger
1 On 09.10.2012 23:19, Mike Frysinger wrote:
2 > On Sunday 07 October 2012 13:58:04 justin wrote:
3 >> On 10/7/12 7:36 PM, Jonathan Callen wrote:
4 >>> You cannot check the value of IUSE in global scope in an eclass, as at
5 >>> least portage actually unsets it before sourcing an eclass (also, it
6 >>> is not defined in PMS what value IUSE would have at that point).
7 >>
8 >> Regarding your first point I copied the behavior from the
9 >> toolchain.eclass and I thought it would work. Testing it, I see you are
10 >> right. Any suggestion how to check for a USE being IUSE in an eclass?
11 >
12 > toolchain.eclass is testing its own IUSE which is why it works, not the IUSE
13 > from ebuilds
14 > -mike
15 >
16
17 Right I just saw this.
18 Thanks,
19 Justin

Attachments

File name MIME type
signature.asc application/pgp-signature