Gentoo Archives: gentoo-dev

From: Vaeth <vaeth@××××××××××××××××××××××××.de>
To: gentoo-dev@l.g.o
Subject: Re: [gentoo-dev] [RFC] Ability to pass arguments to src_configure/src_compile
Date: Mon, 08 Sep 2008 07:48:35
Message-Id: Pine.LNX.4.64.0809080935490.6813@wmax001.mathematik.uni-wuerzburg.de
1 On Sun, 7 Sep 2008, Ciaran McCreesh wrote:
2 > Vaeth <vaeth@××××××××××××××××××××××××.de> wrote:
3 > > Santiago M. Mola wrote:
4 > > > Alec Warner <antarus@g.o> wrote:
5 > > > > Thomas Anderson <gentoofan23@g.o> wrote:
6 > > > >> DEFAULT_SRC_CONFIGURE_USE_{WITHS,ENABLES}
7 > > > >> DEFAULT_SRC_CONFIGURE_EXTRA_PARAMS
8 > >
9 > > Essentially, this is the suggestion to replace the flexible shell code
10 > > by some static variables. [...]
11 > > For all other cases, either *everything* has to be
12 > > done manually, or you have to introduce even more variables to cover
13 > > more cases.
14 >
15 > The proposal is not designed to replace all cases. It's designed to
16 > replace the common 50%.
17
18 But it doesn't do this well, because it is incompatible with any other
19 case. Assume, for example, that you have an ebuild in this manner and
20 that for the new release or for a bugfix you need a small non-included
21 thing - then this means that you have to rewrite the ebuild almost
22 completely. The suggestion violates in an extreme way the golden design
23 rule that small changes in effect should require small changes in source.
24 Moreover, a second syntax is introduced which everybody has learn,
25 although it could be done as easily by the standard commands.

Replies

Subject Author
Re: [gentoo-dev] [RFC] Ability to pass arguments to src_configure/src_compile David Leverton <levertond@××××××××××.com>
Re: [gentoo-dev] [RFC] Ability to pass arguments to src_configure/src_compile "Santiago M. Mola" <coldwind@g.o>