1 |
On Wed, 12 Jul 2006 15:23:06 +0200 Matthias Schwarzott |
2 |
<zzam@g.o> wrote: |
3 |
| IUSE="" # don't put pcmcia here, rather in the ebuilds that actually |
4 |
| support pcmcia |
5 |
|
6 |
That's not legit. An eclass should list all USE flags that it itself |
7 |
uses. Similarly, an ebuild should list all USE flags that it itself |
8 |
uses, and *not* any that're only used by an eclass it inherits. |
9 |
|
10 |
The solution here is probably to make an I_WANT_PCMCIA variable or |
11 |
somesuch. So long as it's statically defined before the inherit, it's |
12 |
not a cache violation (eclasses are evaluated per-ebuild). |
13 |
|
14 |
-- |
15 |
Ciaran McCreesh |
16 |
Mail : ciaran dot mccreesh at blueyonder.co.uk |
17 |
|
18 |
|
19 |
-- |
20 |
gentoo-dev@g.o mailing list |