Gentoo Archives: gentoo-dev

From: Drake Wyrm <wyrm@×××××.com>
To: gentoo-dev@l.g.o
Subject: Re: [gentoo-dev] Re: Apply patch depending on USE flag
Date: Fri, 30 Apr 2004 07:40:12
Message-Id: 20040430074855.GC11876@phaenix.haell.com
In Reply to: Re: [gentoo-dev] Re: Apply patch depending on USE flag by Mike Frysinger
1 On Fri, 2004-04-30, 02:31:39 -0400, in
2 <200404300231.39292.vapier@g.o>, Mike Frysinger
3 <vapier@g.o> wrote:
4 > On Friday 30 April 2004 02:25 am, Drake Wyrm wrote:
5 > > We already have `use-with` and `use-enable` for that. Was the output
6 > > from `use` ever used in any context other than "[ `use foo` ]" and
7 > > friends?
8 >
9 > ive personally used the fact that use echos the flag when building
10 > packages ... for example, a package with a crapy build system:
11 > for vid in `use sdl` `use X` `use opengl` `use svga` ; do
12 > make clean
13 > make VID=$vid
14 > mv binary ../binary.$vid
15 > done
16
17 That's beautiful. Now, there's an example of elegance!
18 I imagine, though, that our USE flags and other developers' naming
19 schemes are just sufficiently divergent to make this sort of opportunity
20 rare.
21
22 > we will continue to hunt down useless applications of [ "`use blah`" ] and the
23 > like in the portage tree so that we can transition to `usev` ... so stop
24 > trying to fight the machine ... i know I WILL NOT BE A ROBOT
25
26 *blink* *blink*
27 This would be an example of something else. ;-)
28
29 I noticed the `useq()` function. Are we trying to phase out the use of
30 `use()` alltogether?
31
32 --
33 Batou: Hey, Major... You ever hear of "human rights"?
34 Kusanagi: I understand the concept, but I've never seen it in action.
35 --Ghost in the Shell

Replies