Gentoo Archives: gentoo-commits

From: "Robin H. Johnson (robbat2)" <robbat2@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in eclass: autotools.eclass
Date: Thu, 01 Apr 2010 21:42:47
Message-Id: E1NxS9u-00055i-1F@stork.gentoo.org
1 robbat2 10/04/01 21:42:38
2
3 Modified: autotools.eclass
4 Log:
5 Bug #312687: We actually need to consider the automake from the real root, not the ROOT destination for stage 1 builds.
6
7 Revision Changes Path
8 1.97 eclass/autotools.eclass
9
10 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/eclass/autotools.eclass?rev=1.97&view=markup
11 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/eclass/autotools.eclass?rev=1.97&content-type=text/plain
12 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/eclass/autotools.eclass?r1=1.96&r2=1.97
13
14 Index: autotools.eclass
15 ===================================================================
16 RCS file: /var/cvsroot/gentoo-x86/eclass/autotools.eclass,v
17 retrieving revision 1.96
18 retrieving revision 1.97
19 diff -p -w -b -B -u -u -r1.96 -r1.97
20 --- autotools.eclass 1 Apr 2010 10:12:36 -0000 1.96
21 +++ autotools.eclass 1 Apr 2010 21:42:37 -0000 1.97
22 @@ -1,6 +1,6 @@
23 # Copyright 1999-2010 Gentoo Foundation
24 # Distributed under the terms of the GNU General Public License v2
25 -# $Header: /var/cvsroot/gentoo-x86/eclass/autotools.eclass,v 1.96 2010/04/01 10:12:36 flameeyes Exp $
26 +# $Header: /var/cvsroot/gentoo-x86/eclass/autotools.eclass,v 1.97 2010/04/01 21:42:37 robbat2 Exp $
27
28 # @ECLASS: autotools.eclass
29 # @MAINTAINER:
30 @@ -280,7 +280,9 @@ autotools_run_tool() {
31 # possible order problems, see bug #270010 as an example.
32 if [[ ${WANT_AUTOMAKE} == "latest" ]]; then
33 for pv in ${_LATEST_AUTOMAKE} ; do
34 - has_version "=sys-devel/automake-${pv}*" && export WANT_AUTOMAKE="$pv"
35 + # has_version respects ROOT, but in this case, we don't want it to,
36 + # thus "ROOT=/" prefix:
37 + ROOT=/ has_version "=sys-devel/automake-${pv}*" && export WANT_AUTOMAKE="$pv"
38 done
39 unset pv
40 [[ ${WANT_AUTOMAKE} == "latest" ]] && \