Gentoo Archives: gentoo-dev

From: Ciaran McCreesh <ciaran.mccreesh@×××××××××××××.uk>
To: gentoo-dev@l.g.o
Subject: Re: [gentoo-dev] [QA] Incomplete IUSE for useflags in {,R,P}DEPEND, SRC_URI etc...
Date: Wed, 12 Jul 2006 16:23:53
Message-Id: 20060712171523.0104b0c7@snowdrop.home
In Reply to: Re: [gentoo-dev] [QA] Incomplete IUSE for useflags in {,R,P}DEPEND, SRC_URI etc... by Matthias Schwarzott
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