From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([69.77.167.62] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1KcbUA-00036i-6h for garchives@archives.gentoo.org; Mon, 08 Sep 2008 07:48:35 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 419EEE0271; Mon, 8 Sep 2008 07:48:32 +0000 (UTC) Received: from mailrelay.rz.uni-wuerzburg.de (wrzx28.rz.uni-wuerzburg.de [132.187.3.28]) by pigeon.gentoo.org (Postfix) with ESMTP id 09025E02A0 for ; Mon, 8 Sep 2008 07:48:32 +0000 (UTC) Received: from virusscan.mail (localhost [127.0.0.1]) by mailrelay.mail (Postfix) with ESMTP id E3247A06EF for ; Mon, 8 Sep 2008 09:48:30 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by virusscan.mail (Postfix) with ESMTP id D6A00A06E3 for ; Mon, 8 Sep 2008 09:48:30 +0200 (CEST) Received: from wmax001.mathematik.uni-wuerzburg.de (wmax001.mathematik.uni-wuerzburg.de [132.187.61.1]) by mailmaster.uni-wuerzburg.de (Postfix) with ESMTP id C281CA06DC for ; Mon, 8 Sep 2008 09:48:30 +0200 (CEST) Date: Mon, 8 Sep 2008 09:48:23 +0200 (CEST) From: Vaeth To: gentoo-dev@lists.gentoo.org Subject: Re: [gentoo-dev] [RFC] Ability to pass arguments to src_configure/src_compile In-Reply-To: Message-ID: References: Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-dev@lists.gentoo.org Reply-to: gentoo-dev@lists.gentoo.org MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Virus-Scanned: by amavisd-new at uni-wuerzburg.de X-Archives-Salt: f6b1f07c-f85e-41dd-be68-a9d95d2bf5fa X-Archives-Hash: c89e9d381427d4793f96d8aaebca775e On Sun, 7 Sep 2008, Ciaran McCreesh wrote: > Vaeth wrote: > > Santiago M. Mola wrote: > > > Alec Warner wrote: > > > > Thomas Anderson wrote: > > > >> DEFAULT_SRC_CONFIGURE_USE_{WITHS,ENABLES} > > > >> DEFAULT_SRC_CONFIGURE_EXTRA_PARAMS > > > > Essentially, this is the suggestion to replace the flexible shell code > > by some static variables. [...] > > For all other cases, either *everything* has to be > > done manually, or you have to introduce even more variables to cover > > more cases. > > The proposal is not designed to replace all cases. It's designed to > replace the common 50%. But it doesn't do this well, because it is incompatible with any other case. Assume, for example, that you have an ebuild in this manner and that for the new release or for a bugfix you need a small non-included thing - then this means that you have to rewrite the ebuild almost completely. The suggestion violates in an extreme way the golden design rule that small changes in effect should require small changes in source. Moreover, a second syntax is introduced which everybody has learn, although it could be done as easily by the standard commands.