Gentoo Archives: gentoo-portage-dev

From: Fabian Groffen <grobian@g.o>
To: gentoo-portage-dev@l.g.o
Subject: Re: [gentoo-portage-dev] IUSE and userland_, elibc_, kernel_, etc.
Date: Mon, 05 Nov 2007 09:01:45
Message-Id: 20071105090100.GB15870@gentoo.org
In Reply to: Re: [gentoo-portage-dev] IUSE and userland_, elibc_, kernel_, etc. by Zac Medico
1 On 04-11-2007 15:00:04 -0800, Zac Medico wrote:
2 > Mike Frysinger wrote:
3 > > On Sunday 04 November 2007, Zac Medico wrote:
4 > >> For the USE=arch_${ARCH} part, we only have to add ARCH to
5 > >> USE_EXPAND in the base profile. For generating the implicit IUSE, we
6 > >> can introduce a new profile variable (rather than hardcode them).
7 > >> For example, we can define IUSE_EXPAND_IMPLICIT="ARCH ELIBC KERNEL
8 > >> USERLAND" and that will cause every package to inherit the
9 > >> corresponding USE_EXPAND flags in it's IUSE.
10 > >
11 > > i consider profile ones half the solution ... what about the other USE
12 > > expanded ones ? video cards / alsa drivers / etc...
13 > > -mike
14 >
15 > Well, for bug 133327 I was thinking that we should add an IUSE
16 > syntax extension. For example, IUSE="@video_cards" would mean that
17 > all the video_cards_* flags are in IUSE. I guess we could use a
18 > similar approach for the implicit IUSE, and do something like
19 > IUSE_IMPLICIT="@arch @elibc @kernel @userland" in the profile.
20
21 Sounds good. If I would be able to stick in "prefix" there somewhere,
22 then I could revert my horrible "add-it-to-arch.list" hack and do it in
23 a nice way.
24
25
26 --
27 Fabian Groffen
28 Gentoo on a different level
29 --
30 gentoo-portage-dev@g.o mailing list