summaryrefslogtreecommitdiff
path: root/eclass
diff options
context:
space:
mode:
authorMaciej Mrozowski <reavertm@gentoo.org>2010-05-25 20:37:12 +0000
committerMaciej Mrozowski <reavertm@gentoo.org>2010-05-25 20:37:12 +0000
commit30b5433e21c28459375d85be2fd9ce45d70d80c4 (patch)
tree6a0d4b5998a195aaf71634459e662e85f72bacab /eclass
parentapp-office/grisbi: bump to 0.6.0, rewrite ebuild to use the gnome2 eclass (diff)
downloadhistorical-30b5433e21c28459375d85be2fd9ce45d70d80c4.tar.gz
historical-30b5433e21c28459375d85be2fd9ce45d70d80c4.tar.bz2
historical-30b5433e21c28459375d85be2fd9ce45d70d80c4.zip
Make econf accept base_src_configure arguments (only >=EAPI-2), fix documentation wrt PATCHES variable
Diffstat (limited to 'eclass')
-rw-r--r--eclass/base.eclass9
1 files changed, 4 insertions, 5 deletions
diff --git a/eclass/base.eclass b/eclass/base.eclass
index ae77873504ed..5b8ba10fa081 100644
--- a/eclass/base.eclass
+++ b/eclass/base.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/base.eclass,v 1.50 2010/04/12 15:33:03 scarabeus Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/base.eclass,v 1.51 2010/05/25 20:37:12 reavertm Exp $
# @ECLASS: base.eclass
# @MAINTAINER:
@@ -65,7 +65,7 @@ base_src_unpack() {
# @FUNCTION: base_src_prepare
# @DESCRIPTION:
# The base src_prepare function, which is exported
-# EAPI is greater or equal to 2.
+# EAPI is greater or equal to 2. Here the PATCHES array is evaluated.
base_src_prepare() {
debug-print-function $FUNCNAME "$@"
debug-print "$FUNCNAME: PATCHES=$PATCHES"
@@ -116,13 +116,12 @@ base_src_prepare() {
# @FUNCTION: base_src_configure
# @DESCRIPTION:
# The base src_configure function, which is exported when
-# EAPI is greater or equal to 2. Runs basic econf. Here the PATCHES array is
-# evaluated.
+# EAPI is greater or equal to 2. Runs basic econf.
base_src_configure() {
debug-print-function $FUNCNAME "$@"
# there is no pushd ${S} so we can override its place where to run
- [[ -x ${ECONF_SOURCE:-.}/configure ]] && econf
+ [[ -x ${ECONF_SOURCE:-.}/configure ]] && econf $@
}
# @FUNCTION: base_src_compile