1 |
On Thu, Sep 15, 2011 at 12:15:59AM +0100, Ciaran McCreesh wrote: |
2 |
> On Wed, 14 Sep 2011 11:19:35 -0400 |
3 |
> Mike Frysinger <vapier@g.o> wrote: |
4 |
> > however, why wont this work sanely in src_* or pkg_* funcs ? the env |
5 |
> > there is the one constructed by the PM which includes the merged IUSE |
6 |
> > values. |
7 |
> |
8 |
> It's not. We deliberately don't specify that the PM passes fixed up |
9 |
> values for IUSE, DEPEND etc back into the ebuild, since Portage's |
10 |
> behaviour for global variables has varied considerably over the years. |
11 |
|
12 |
That's not varied; the implementation for eclass/ebuild stacking has |
13 |
been pretty consistant for phase funcs. |
14 |
|
15 |
Either way, candidate for eapi5 if it's worth ensuring it's accessible |
16 |
to the phases... |
17 |
~harring |