Gentoo Archives: gentoo-commits

From: "Diego Petteno (flameeyes)" <flameeyes@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in eclass: autotools.eclass
Date: Fri, 25 Jan 2008 22:45:27
Message-Id: E1JIXIa-0004L5-7d@stork.gentoo.org
1 flameeyes 08/01/25 22:45:24
2
3 Modified: autotools.eclass
4 Log:
5 Output a QA warning when the autotools functions are used outside of
6 unpack phase. You should run then in src_unpack().
7
8 Revision Changes Path
9 1.71 eclass/autotools.eclass
10
11 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/eclass/autotools.eclass?rev=1.71&view=markup
12 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/eclass/autotools.eclass?rev=1.71&content-type=text/plain
13 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/eclass/autotools.eclass?r1=1.70&r2=1.71
14
15 Index: autotools.eclass
16 ===================================================================
17 RCS file: /var/cvsroot/gentoo-x86/eclass/autotools.eclass,v
18 retrieving revision 1.70
19 retrieving revision 1.71
20 diff -u -r1.70 -r1.71
21 --- autotools.eclass 13 Jan 2008 18:41:28 -0000 1.70
22 +++ autotools.eclass 25 Jan 2008 22:45:23 -0000 1.71
23 @@ -1,6 +1,6 @@
24 # Copyright 1999-2007 Gentoo Foundation
25 # Distributed under the terms of the GNU General Public License v2
26 -# $Header: /var/cvsroot/gentoo-x86/eclass/autotools.eclass,v 1.70 2008/01/13 18:41:28 flameeyes Exp $
27 +# $Header: /var/cvsroot/gentoo-x86/eclass/autotools.eclass,v 1.71 2008/01/25 22:45:23 flameeyes Exp $
28 #
29 # Maintainer: base-system@g.o
30 #
31 @@ -204,6 +204,10 @@
32
33 # Internal function to run an autotools' tool
34 autotools_run_tool() {
35 + if [[ ${EBUILD_PHASE} != "unpack" ]]; then
36 + ewarn "QA Warning: running $1 in ${EBUILD_PHASE} phase"
37 + fi
38 +
39 local STDERR_TARGET="${T}/$$.out"
40 local ris
41
42
43
44
45 --
46 gentoo-commits@l.g.o mailing list