summaryrefslogtreecommitdiff
path: root/eclass
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
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')
-rw-r--r--eclass/ChangeLog6
-rw-r--r--eclass/autotools-utils.eclass34
2 files changed, 22 insertions, 18 deletions
diff --git a/eclass/ChangeLog b/eclass/ChangeLog
index 667ee687e3d0..31eb2855578a 100644
--- a/eclass/ChangeLog
+++ b/eclass/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for eclass directory
# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/eclass/ChangeLog,v 1.850 2013/06/07 01:11:31 floppym Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/ChangeLog,v 1.851 2013/06/07 20:59:13 floppym Exp $
+
+ 07 Jun 2013; Mike Gilbert <floppym@gentoo.org> autotools-utils.eclass:
+ Convert econfargs from an ECLASS-VARIABLE to a function-specifc VARIABLE for
+ autotools-utils_src_configure.
07 Jun 2013; Mike Gilbert <floppym@gentoo.org> python-utils-r1.eclass:
Improve docs for PYTHON and EPYTHON.
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} "$@"