Gentoo Archives: gentoo-dev

From: Ciaran McCreesh <ciaran.mccreesh@××××××××××.com>
To: gentoo-dev@l.g.o
Subject: Re: [gentoo-dev] [PATCH eutils] Introduce has_iuse() for IUSE checks.
Date: Wed, 14 Sep 2011 23:21:24
Message-Id: 20110915001559.44b88de1@googlemail.com
In Reply to: Re: [gentoo-dev] [PATCH eutils] Introduce has_iuse() for IUSE checks. by Mike Frysinger
1 On Wed, 14 Sep 2011 11:19:35 -0400
2 Mike Frysinger <vapier@g.o> wrote:
3 > however, why wont this work sanely in src_* or pkg_* funcs ? the env
4 > there is the one constructed by the PM which includes the merged IUSE
5 > values.
6
7 It's not. We deliberately don't specify that the PM passes fixed up
8 values for IUSE, DEPEND etc back into the ebuild, since Portage's
9 behaviour for global variables has varied considerably over the years.
10
11 --
12 Ciaran McCreesh

Attachments

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

Replies