[gentoo-dev] Re: gentoo-x86 commit in perl-core/Compress-Raw-Zlib

2009-12-16 Thread Jonathan Callen
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Torsten Veller wrote:
> Why is prefix not in IUSE? 
> 
> IUSE lists "the USE flags used by the ebuild.
> Historically, USE_EXPAND values and ARCH were not included..."
> 
> prefix is not an ARCH.
> 

While prefix is not an ARCH or a in USE_EXPANDed variable, it is
included in the list of implicit USE flags, which do not need to be
included in IUSE.

> BTW: don't we bump EAPI to not add this `use prefix ||...` test?

We could, if EAPI-3 were supported by portage (the support has not yet
been enabled) and the council okayed it to be used in the tree (which
has not yet occurred).

- --
Jonathan Callen
-BEGIN PGP SIGNATURE-
Version: GnuPG v2.0.13 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAkspbE8ACgkQOypDUo0oQOrkSwCfTCWlBmXCOiIeI2u8WInjnWVy
YQIAnRNesROT2DNsUSApea6rv8lFpXyc
=kfXK
-END PGP SIGNATURE-



[gentoo-dev] Re: gentoo-x86 commit in perl-core/Compress-Raw-Zlib

2009-12-16 Thread Torsten Veller
* "Jonathan Callen (abcd)" :
>  EAPI=2

>  IUSE="test"

>  src_prepare() {
> + use prefix || EPREFIX=

Why is prefix not in IUSE? 

IUSE lists "the USE flags used by the ebuild.
Historically, USE_EXPAND values and ARCH were not included..."

prefix is not an ARCH.


BTW: don't we bump EAPI to not add this `use prefix ||...` test?