[prev in list] [next in list] [prev in thread] [next in thread] 

List:       gentoo-dev
Subject:    Re: [gentoo-dev] Re: Apply patch depending on USE flag
From:       Drake Wyrm <wyrm () haell ! com>
Date:       2004-04-30 15:22:25
Message-ID: 20040430152225.GA18298 () phaenix ! haell ! com
[Download RAW message or body]


On Fri, 2004-04-30, 14:18:39 +0200, in <4092441F.70205@b-i-t.de>, sf
<sf@b-i-t.de> wrote:
> Drake Wyrm wrote:
> >On Fri, 2004-04-30, 02:31:39 -0400, in
> ><200404300231.39292.vapier@gentoo.org>, Mike Frysinger
> ><vapier@gentoo.org> wrote:
> >
> >>On Friday 30 April 2004 02:25 am, Drake Wyrm wrote:
> ...
> >>ive personally used the fact that use echos the flag when building
> >>packages ... for example, a package with a crapy build system:
> >>for vid in `use sdl` `use X` `use opengl` `use svga` ; do
> >>   make clean
> >>   make VID=$vid
> >>   mv binary ../binary.$vid
> >>done
> >
> >
> >That's beautiful. Now, there's an example of elegance!
> 
> Beautiful? It is an example of code replication!

Maybe. Then again, maybe I just get a kick out of seeing somebody do
something useful with anything I consider to be useless (e.g. the output
from `use`).

-- 
Batou: Hey, Major... You ever hear of "human rights"?
Kusanagi: I understand the concept, but I've never seen it in action.
  --Ghost in the Shell

[Attachment #3 (application/pgp-signature)]

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic