1 |
tommy 10/08/28 21:15:24 |
2 |
|
3 |
Modified: enlightenment.eclass |
4 |
Log: |
5 |
Add support for static-libs USE flag, including support for .la files removal and not yet committed support for svn revision checks in efl live builds |
6 |
|
7 |
Revision Changes Path |
8 |
1.86 eclass/enlightenment.eclass |
9 |
|
10 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/enlightenment.eclass?rev=1.86&view=markup |
11 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/enlightenment.eclass?rev=1.86&content-type=text/plain |
12 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/enlightenment.eclass?r1=1.85&r2=1.86 |
13 |
|
14 |
Index: enlightenment.eclass |
15 |
=================================================================== |
16 |
RCS file: /var/cvsroot/gentoo-x86/eclass/enlightenment.eclass,v |
17 |
retrieving revision 1.85 |
18 |
retrieving revision 1.86 |
19 |
diff -u -r1.85 -r1.86 |
20 |
--- enlightenment.eclass 23 Aug 2010 21:38:13 -0000 1.85 |
21 |
+++ enlightenment.eclass 28 Aug 2010 21:15:24 -0000 1.86 |
22 |
@@ -1,6 +1,6 @@ |
23 |
# Copyright 1999-2010 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.85 2010/08/23 21:38:13 vapier Exp $ |
26 |
+# $Header: /var/cvsroot/gentoo-x86/eclass/enlightenment.eclass,v 1.86 2010/08/28 21:15:24 tommy Exp $ |
27 |
|
28 |
# @ECLASS: enlightenment.eclass |
29 |
# @MAINTAINER: |
30 |
@@ -141,6 +141,7 @@ |
31 |
# autotools require README, when README.in is around, but README |
32 |
# is created later in configure step |
33 |
[[ -f README.in ]] && touch README |
34 |
+ export SVN_REPO_PATH=${ESVN_WC_PATH} |
35 |
eautoreconf |
36 |
fi |
37 |
epunt_cxx |
38 |
@@ -150,6 +151,7 @@ |
39 |
enlightenment_src_configure() { |
40 |
# gstreamer sucks, work around it doing stupid stuff |
41 |
export GST_REGISTRY="${S}/registry.xml" |
42 |
+ has static-libs ${IUSE} && MY_ECONF+=" $(use_enable static-libs static)" |
43 |
|
44 |
econf ${MY_ECONF} |
45 |
} |
46 |
@@ -179,4 +181,7 @@ |
47 |
[[ -f ${d} ]] && dodoc ${d} |
48 |
done |
49 |
use doc && [[ -d doc ]] && dohtml -r doc/* |
50 |
+ if has static-libs ${IUSE} ; then |
51 |
+ use static-libs || find "${D}" -name '*.la' -exec rm -f {} + |
52 |
+ fi |
53 |
} |