Gentoo Archives: gentoo-pms

From: Ulrich Mueller <ulm@g.o>
To: gentoo-pms@l.g.o
Subject: [gentoo-pms] Re: [gentoo-dev] [RFC] Shall econf append its arguments to end of ./configure invocation?
Date: Tue, 30 Apr 2013 17:04:05
Message-Id: 20863.63869.123049.716239@a1i15.kph.uni-mainz.de
In Reply to: Re: [gentoo-pms] Re: [gentoo-dev] [RFC] Shall econf append its arguments to end of ./configure invocation? by Ciaran McCreesh
1 >>>>> On Tue, 30 Apr 2013, Ciaran McCreesh wrote:
2
3 > "Override" is a dodgy word, since we don't know how ./configure does.
4 > Specify how the arguments are passed, which we have control over, not
5 > how they behave.
6
7 See updated patch below.
8
9 > And it still needs Council approval...
10
11 That can be done.
12
13 Ulrich
14
15
16 From 31a2d63de1b8914063e82957e41de642d11eb092 Mon Sep 17 00:00:00 2001
17 From: =?UTF-8?q?Ulrich=20M=C3=BCller?= <ulm@g.o>
18 Date: Tue, 30 Apr 2013 14:59:15 +0200
19 Subject: [PATCH] econf arguments are passed after default options.
20
21 This matches long-time Portage behaviour, and for later added options
22 like --disable-dependency-tracking it follows the clarification given here:
23 http://archives.gentoo.org/gentoo-dev/msg_0189c554085ac8352b5a2e05647a1d97.xml
24 See also bug 406117.
25 ---
26 pkg-mgr-commands.tex | 3 ++-
27 1 file changed, 2 insertions(+), 1 deletion(-)
28
29 diff --git a/pkg-mgr-commands.tex b/pkg-mgr-commands.tex
30 index aa0c873..a70ffdb 100644
31 --- a/pkg-mgr-commands.tex
32 +++ b/pkg-mgr-commands.tex
33 @@ -136,7 +136,8 @@ has returned.
34 \begin{description}
35 \item[econf] Calls the program's \t{./configure} script. This is designed to work with GNU
36 Autoconf-generated scripts. Any additional parameters passed to \t{econf} are passed directly
37 - to \t{./configure}. \t{econf} will look in the current working directory for a configure script
38 + to \t{./configure}, after the default options below.
39 + \t{econf} will look in the current working directory for a configure script
40 unless the \t{ECONF\_SOURCE} environment variable is set, in which case it is taken to be the
41 directory containing it. \t{econf} must pass the following options to the configure script:
42
43 --
44 1.8.2.1