1 |
vapier 13/08/28 02:51:18 |
2 |
|
3 |
Modified: enlightenment.eclass |
4 |
Log: |
5 |
deploy E_ECONF as an array replacement of the MY_ECONF string |
6 |
|
7 |
Revision Changes Path |
8 |
1.99 eclass/enlightenment.eclass |
9 |
|
10 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/enlightenment.eclass?rev=1.99&view=markup |
11 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/enlightenment.eclass?rev=1.99&content-type=text/plain |
12 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/enlightenment.eclass?r1=1.98&r2=1.99 |
13 |
|
14 |
Index: enlightenment.eclass |
15 |
=================================================================== |
16 |
RCS file: /var/cvsroot/gentoo-x86/eclass/enlightenment.eclass,v |
17 |
retrieving revision 1.98 |
18 |
retrieving revision 1.99 |
19 |
diff -u -r1.98 -r1.99 |
20 |
--- enlightenment.eclass 26 Nov 2012 06:58:19 -0000 1.98 |
21 |
+++ enlightenment.eclass 28 Aug 2013 02:51:18 -0000 1.99 |
22 |
@@ -1,6 +1,6 @@ |
23 |
# Copyright 1999-2012 Gentoo Foundation |
24 |
# Distributed under the terms of the GNU General Public License v2 |
25 |
-# $Header: /var/cvsroot/gentoo-x86/eclass/enlightenment.eclass,v 1.98 2012/11/26 06:58:19 vapier Exp $ |
26 |
+# $Header: /var/cvsroot/gentoo-x86/eclass/enlightenment.eclass,v 1.99 2013/08/28 02:51:18 vapier Exp $ |
27 |
|
28 |
# @ECLASS: enlightenment.eclass |
29 |
# @MAINTAINER: |
30 |
@@ -19,6 +19,11 @@ |
31 |
# @DESCRIPTION: |
32 |
# if defined, the package is Cython bindings (implies E_PYTHON) |
33 |
|
34 |
+# @ECLASS-VARIABLE: E_ECONF |
35 |
+# @DESCRIPTION: |
36 |
+# Array of flags to pass to econf (obsoletes MY_ECONF) |
37 |
+E_ECONF=() |
38 |
+ |
39 |
# E_STATE's: |
40 |
# release [default] |
41 |
# KEYWORDS arch |
42 |
@@ -142,9 +147,9 @@ |
43 |
enlightenment_src_configure() { |
44 |
# gstreamer sucks, work around it doing stupid stuff |
45 |
export GST_REGISTRY="${S}/registry.xml" |
46 |
- has static-libs ${IUSE} && MY_ECONF+=" $(use_enable static-libs static)" |
47 |
+ has static-libs ${IUSE} && E_ECONF+=( $(use_enable static-libs static) ) |
48 |
|
49 |
- econf ${MY_ECONF} |
50 |
+ econf ${MY_ECONF} "${E_ECONF[@]}" |
51 |
} |
52 |
|
53 |
enlightenment_src_compile() { |