summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Gilbert <floppym@gentoo.org>2013-06-07 20:59:13 +0000
committerMike Gilbert <floppym@gentoo.org>2013-06-07 20:59:13 +0000
commit4e5ff71359e2d9b007adc9a40715c8f2ff862738 (patch)
tree98b6b1f1b6fcf18aba01bae5c420f4fd45c6860e /eclass/autotools-utils.eclass
parentadd xmonad-log-applet (diff)
downloadhistorical-4e5ff71359e2d9b007adc9a40715c8f2ff862738.tar.gz
historical-4e5ff71359e2d9b007adc9a40715c8f2ff862738.tar.bz2
historical-4e5ff71359e2d9b007adc9a40715c8f2ff862738.zip
Convert econfargs from an ECLASS-VARIABLE to a function-specifc VARIABLE for autotools-utils_src_configure.
Diffstat (limited to 'eclass/autotools-utils.eclass')
-rw-r--r--eclass/autotools-utils.eclass34
1 files changed, 17 insertions, 17 deletions
diff --git a/eclass/autotools-utils.eclass b/eclass/autotools-utils.eclass
index 25d9b5e9c889..2cae86d8bdac 100644
--- a/eclass/autotools-utils.eclass
+++ b/eclass/autotools-utils.eclass
@@ -1,6 +1,6 @@
# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/eclass/autotools-utils.eclass,v 1.68 2013/05/05 20:22:25 mgorny Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/autotools-utils.eclass,v 1.69 2013/06/07 20:59:13 floppym Exp $
# @ECLASS: autotools-utils.eclass
# @MAINTAINER:
@@ -136,22 +136,6 @@ EXPORT_FUNCTIONS src_prepare src_configure src_compile src_install src_test
# @DESCRIPTION:
# Specify location of autotools' configure script. By default it uses ${S}.
-# @ECLASS-VARIABLE: myeconfargs
-# @DEFAULT_UNSET
-# @DESCRIPTION:
-# Optional econf arguments as Bash array. Should be defined before calling src_configure.
-# @CODE
-# src_configure() {
-# local myeconfargs=(
-# --disable-readline
-# --with-confdir="/etc/nasty foo confdir/"
-# $(use_enable debug cnddebug)
-# $(use_enable threads multithreading)
-# )
-# autotools-utils_src_configure
-# }
-# @CODE
-
# @ECLASS-VARIABLE: DOCS
# @DEFAULT_UNSET
# @DESCRIPTION:
@@ -427,6 +411,22 @@ autotools-utils_src_prepare() {
#
# IUSE="static-libs" passes --enable-shared and either --disable-static/--enable-static
# to econf respectively.
+
+# @VARIABLE: myeconfargs
+# @DEFAULT_UNSET
+# @DESCRIPTION:
+# Optional econf arguments as Bash array. Should be defined before calling src_configure.
+# @CODE
+# src_configure() {
+# local myeconfargs=(
+# --disable-readline
+# --with-confdir="/etc/nasty foo confdir/"
+# $(use_enable debug cnddebug)
+# $(use_enable threads multithreading)
+# )
+# autotools-utils_src_configure
+# }
+# @CODE
autotools-utils_src_configure() {
debug-print-function ${FUNCNAME} "$@"