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
commita2b6e96750b77b8efee56aaf4a0662085358900e (patch)
tree5d4a5494db82457e824333e7e8af42cd5946a998 /eclass
parentapp-office/grisbi: bump to 0.6.0, rewrite ebuild to use the gnome2 eclass (diff)
downloadgentoo-2-a2b6e96750b77b8efee56aaf4a0662085358900e.tar.gz
gentoo-2-a2b6e96750b77b8efee56aaf4a0662085358900e.tar.bz2
gentoo-2-a2b6e96750b77b8efee56aaf4a0662085358900e.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