From: Maciej Mrozowski Date: Tue, 25 May 2010 20:37:12 +0000 (+0000) Subject: Make econf accept base_src_configure arguments (only >=EAPI-2), fix documentation... X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=30b5433e21c28459375d85be2fd9ce45d70d80c4;p=gentoo.git Make econf accept base_src_configure arguments (only >=EAPI-2), fix documentation wrt PATCHES variable --- 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