summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2013-08-28 02:51:18 +0000
committerMike Frysinger <vapier@gentoo.org>2013-08-28 02:51:18 +0000
commitca2e3b66290436b51c2b268a3cc89845d156b827 (patch)
treea03ba87e0f9068fb25084a6f4d1d0fe605e942d1 /eclass/enlightenment.eclass
parentStable for HPPA (bug #480304). (diff)
downloadgentoo-2-ca2e3b66290436b51c2b268a3cc89845d156b827.tar.gz
gentoo-2-ca2e3b66290436b51c2b268a3cc89845d156b827.tar.bz2
gentoo-2-ca2e3b66290436b51c2b268a3cc89845d156b827.zip
deploy E_ECONF as an array replacement of the MY_ECONF string
Diffstat (limited to 'eclass/enlightenment.eclass')
-rw-r--r--eclass/enlightenment.eclass11
1 files changed, 8 insertions, 3 deletions
diff --git a/eclass/enlightenment.eclass b/eclass/enlightenment.eclass
index 224955b3baea..7ab3694f36e9 100644
--- a/eclass/enlightenment.eclass
+++ b/eclass/enlightenment.eclass
@@ -1,6 +1,6 @@
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/eclass/enlightenment.eclass,v 1.98 2012/11/26 06:58:19 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/enlightenment.eclass,v 1.99 2013/08/28 02:51:18 vapier Exp $
# @ECLASS: enlightenment.eclass
# @MAINTAINER:
@@ -19,6 +19,11 @@ inherit eutils libtool
# @DESCRIPTION:
# if defined, the package is Cython bindings (implies E_PYTHON)
+# @ECLASS-VARIABLE: E_ECONF
+# @DESCRIPTION:
+# Array of flags to pass to econf (obsoletes MY_ECONF)
+E_ECONF=()
+
# E_STATE's:
# release [default]
# KEYWORDS arch
@@ -142,9 +147,9 @@ enlightenment_src_prepare() {
enlightenment_src_configure() {
# gstreamer sucks, work around it doing stupid stuff
export GST_REGISTRY="${S}/registry.xml"
- has static-libs ${IUSE} && MY_ECONF+=" $(use_enable static-libs static)"
+ has static-libs ${IUSE} && E_ECONF+=( $(use_enable static-libs static) )
- econf ${MY_ECONF}
+ econf ${MY_ECONF} "${E_ECONF[@]}"
}
enlightenment_src_compile() {