1 |
On 04-04-2009 13:23:24 +0300, Petteri Räty wrote: |
2 |
> > |
3 |
> > However, we have toyed with other ideas. One of which is to introduce |
4 |
> > IUSE=prefix in prefix.eclass similar to the USE=multilib approach. I |
5 |
> > don't really like this idea because it exposes the use flag and we |
6 |
> > don't want it exposed to the users. |
7 |
> > |
8 |
> |
9 |
> If you don't want it exposed to users, then use a USE_EXPAND variable. |
10 |
> Like zmedico said in EAPI 3 a normal use flag could be hidden but |
11 |
> probably better to not have to migrate everything with prefix support to |
12 |
> EAPI 3. Out of the existing USE_EXPAND variables USERLAND makes most |
13 |
> sense to me but we could also introduce a new one too. |
14 |
|
15 |
USE_EXPAND does something like: |
16 |
USERLAND="GNU" -> userland_GNU |
17 |
|
18 |
For Prefix, we just need the "prefix" USE-flag (not prefix_XXX), hence |
19 |
USE_EXPAND doesn't help us. Adding "prefix" to use.mask (and use.force |
20 |
in Prefix profiles) allows us to get the desired behaviour. |
21 |
|
22 |
|
23 |
|
24 |
-- |
25 |
Fabian Groffen |
26 |
Gentoo on a different level |