summaryrefslogtreecommitdiff
path: root/eclass
diff options
context:
space:
mode:
authorSamuli Suominen <ssuominen@gentoo.org>2011-04-09 17:58:05 +0000
committerSamuli Suominen <ssuominen@gentoo.org>2011-04-09 17:58:05 +0000
commit8a2d5f89bad573bcf338f18b94d3404b703be33b (patch)
treeebd96ae82e173bc0846474157727a8fa2b4e3d40 /eclass
parentConvert XFCONF to an array so we can remove the support it being a variable f... (diff)
downloadgentoo-2-8a2d5f89bad573bcf338f18b94d3404b703be33b.tar.gz
gentoo-2-8a2d5f89bad573bcf338f18b94d3404b703be33b.tar.bz2
gentoo-2-8a2d5f89bad573bcf338f18b94d3404b703be33b.zip
Remove XFCONF variable support. It's mandatory as an array now.
Diffstat (limited to 'eclass')
-rw-r--r--eclass/xfconf.eclass8
1 files changed, 1 insertions, 7 deletions
diff --git a/eclass/xfconf.eclass b/eclass/xfconf.eclass
index 3ca809826b15..a9c599bf120e 100644
--- a/eclass/xfconf.eclass
+++ b/eclass/xfconf.eclass
@@ -1,6 +1,6 @@
# Copyright 1999-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/eclass/xfconf.eclass,v 1.25 2011/04/09 09:15:51 ssuominen Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/xfconf.eclass,v 1.26 2011/04/09 17:58:05 ssuominen Exp $
# @ECLASS: xfconf.eclass
# @MAINTAINER:
@@ -103,12 +103,6 @@ xfconf_src_prepare() {
# Run econf with opts in XFCONF array
xfconf_src_configure() {
debug-print-function ${FUNCNAME} "$@"
-
- # Convert XFCONF to an array, see base.eclass for original code
- if [[ "$(declare -p XFCONF 2>/dev/null 2>&1)" != "declare -a"* ]]; then
- XFCONF=( ${XFCONF} )
- fi
-
econf ${XFCONF[@]}
}