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
On Wed, 14 Sep 2011 11:19:35 -0400
Mike Frysinger <vapier@g.o> wrote:
> however, why wont this work sanely in src_* or pkg_* funcs ? the env > there is the one constructed by the PM which includes the merged IUSE > values.
It's not. We deliberately don't specify that the PM passes fixed up values for IUSE, DEPEND etc back into the ebuild, since Portage's behaviour for global variables has varied considerably over the years. -- Ciaran McCreesh

Attachments

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

Replies