Gentoo Archives: gentoo-dev

From: Ulrich Mueller <ulm@g.o>
To: gentoo-dev@l.g.o, gentoo-pms@l.g.o
Subject: Re: [gentoo-dev] [RFC] Shall econf append its arguments to end of ./configure invocation?
Date: Tue, 30 Apr 2013 13:13:37
Message-Id: 20863.50037.321574.867160@a1i15.kph.uni-mainz.de
In Reply to: Re: [gentoo-dev] Re: [RFC] Shall econf append its arguments to end of ./configure invocation? by Rich Freeman
1 Below is a patch that brings the spec in line with common sense.
2
3 Ulrich
4
5
6 From 34023bdee8fb9b60e6a91e1f340bef5c97f07e05 Mon Sep 17 00:00:00 2001
7 From: =?UTF-8?q?Ulrich=20M=C3=BCller?= <ulm@g.o>
8 Date: Tue, 30 Apr 2013 14:59:15 +0200
9 Subject: [PATCH] econf arguments override default options.
10
11 This matches long-time Portage behaviour, and for later added options
12 like --disable-dependency-tracking it follows the clarification given here:
13 http://archives.gentoo.org/gentoo-dev/msg_0189c554085ac8352b5a2e05647a1d97.xml
14 See also bug 406117.
15 ---
16 pkg-mgr-commands.tex | 3 ++-
17 1 file changed, 2 insertions(+), 1 deletion(-)
18
19 diff --git a/pkg-mgr-commands.tex b/pkg-mgr-commands.tex
20 index aa0c873..ed15ad8 100644
21 --- a/pkg-mgr-commands.tex
22 +++ b/pkg-mgr-commands.tex
23 @@ -136,8 +136,8 @@ has returned.
24 \begin{description}
25 \item[econf] Calls the program's \t{./configure} script. This is designed to work with GNU
26 Autoconf-generated scripts. Any additional parameters passed to \t{econf} are passed directly
27 - to \t{./configure}. \t{econf} will look in the current working directory for a configure script
28 + to \t{./configure} and override any of the default options below.
29 + \t{econf} will look in the current working directory for a configure script
30 unless the \t{ECONF\_SOURCE} environment variable is set, in which case it is taken to be the
31 directory containing it. \t{econf} must pass the following options to the configure script:
32
33 --
34 1.8.1.5

Replies