Gentoo Archives: gentoo-dev

From: William Hubbs <williamh@g.o>
To: gentoo-dev@l.g.o
Subject: Re: [gentoo-dev] Ideas for a (fast) EAPI=3
Date: Sun, 08 Mar 2009 17:24:07
Message-Id: 20090308172405.GA5333@linux1
In Reply to: Re: [gentoo-dev] Ideas for a (fast) EAPI=3 by Donnie Berkholz
1 -----BEGIN PGP SIGNED MESSAGE-----
2 Hash: SHA1
3
4 On Sun, Mar 08, 2009 at 10:01:05AM -0700, Donnie Berkholz wrote:
5 > > How would that work? I can't see an obvious way of doing it that isn't
6 > > more or less as verbose as just using multiple calls.
7 >
8 > It would just eliminate all but one call to use_with(). Depending on how
9 > many you've got, this can shorten things up a fair bit. Here's an
10 > example:
11 >
12 > econf \
13 > $(use_with 'x X' 'foo libfoo' 'bar' 'python pygtk')
14 > econf \
15 > $(use_with x X) \
16 > $(use_with foo libfoo) \
17 > $(use_with bar) \
18 > $(use_with python pygtk)
19 >
20
21 I like this idea also, but I would prefer using something other than
22 spaces in each argument, like so:
23
24 econf \
25 $(use_with x:X foo:libfoo bar python:pygtk)
26
27 - --
28 William Hubbs
29 gentoo accessibility team lead
30 williamh@g.o
31 -----BEGIN PGP SIGNATURE-----
32 Version: GnuPG v2.0.9 (GNU/Linux)
33
34 iEYEARECAAYFAkmz/zUACgkQblQW9DDEZTgnugCgkTMUOCQUbcAs9qcvxxmt2Wna
35 BY4AoKAjdpzXkiiizFsQ8MKUmAwHxZMC
36 =lFam
37 -----END PGP SIGNATURE-----