summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJorge Manuel B. S. Vicetto <jmbsvicetto@gentoo.org>2008-09-26 16:21:54 +0000
committerJorge Manuel B. S. Vicetto <jmbsvicetto@gentoo.org>2008-09-26 16:21:54 +0000
commitf9c3811d28071b79c2af85854b0a7d44e5d297c8 (patch)
treeebc0bdd1dd63e654fc8bba9260c3d1ddb6032ba1 /eclass/autotools.eclass
parentBump (diff)
downloadhistorical-f9c3811d28071b79c2af85854b0a7d44e5d297c8.tar.gz
historical-f9c3811d28071b79c2af85854b0a7d44e5d297c8.tar.bz2
historical-f9c3811d28071b79c2af85854b0a7d44e5d297c8.zip
Add a || clause to the phase test as autotools functions may now be called from
src_unpack or from src_prepare for EAPI-2.
Diffstat (limited to 'eclass/autotools.eclass')
-rw-r--r--eclass/autotools.eclass8
1 files changed, 4 insertions, 4 deletions
diff --git a/eclass/autotools.eclass b/eclass/autotools.eclass
index e8c100acbbc2..71593941a1a0 100644
--- a/eclass/autotools.eclass
+++ b/eclass/autotools.eclass
@@ -1,6 +1,6 @@
# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/eclass/autotools.eclass,v 1.80 2008/07/31 20:45:41 darkside Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/autotools.eclass,v 1.81 2008/09/26 16:21:54 jmbsvicetto Exp $
# @ECLASS: autotools.eclass
# @MAINTAINER:
@@ -76,12 +76,12 @@ AT_GNUCONF_UPDATE="no"
# This function mimes the behavior of autoreconf, but uses the different
# eauto* functions to run the tools. It doesn't accept parameters, but
# the directory with include files can be specified with AT_M4DIR variable.
-#
+#
# Should do a full autoreconf - normally what most people will be interested in.
# Also should handle additional directories specified by AC_CONFIG_SUBDIRS.
eautoreconf() {
local pwd=$(pwd) x auxdir
-
+
if [[ -z ${AT_NO_RECURSIVE} ]]; then
# Take care of subdirs
for x in $(autotools_get_subdirs); do
@@ -236,7 +236,7 @@ eautomake() {
# Internal function to run an autotools' tool
autotools_run_tool() {
- if [[ ${EBUILD_PHASE} != "unpack" ]]; then
+ if [[ ${EBUILD_PHASE} != "unpack" && ${EBUILD_PHASE} != "prepare" ]]; then
ewarn "QA Warning: running $1 in ${EBUILD_PHASE} phase"
fi