1 |
grobian 07/09/17 10:58:04 |
2 |
|
3 |
Modified: gnustep-base.eclass |
4 |
Log: |
5 |
avoid setting ld-flags more than once, by querying them first using is-ldflagq |
6 |
|
7 |
Revision Changes Path |
8 |
1.3 eclass/gnustep-base.eclass |
9 |
|
10 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/eclass/gnustep-base.eclass?rev=1.3&view=markup |
11 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/eclass/gnustep-base.eclass?rev=1.3&content-type=text/plain |
12 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/eclass/gnustep-base.eclass?r1=1.2&r2=1.3 |
13 |
|
14 |
Index: gnustep-base.eclass |
15 |
=================================================================== |
16 |
RCS file: /var/cvsroot/gentoo-x86/eclass/gnustep-base.eclass,v |
17 |
retrieving revision 1.2 |
18 |
retrieving revision 1.3 |
19 |
diff -u -r1.2 -r1.3 |
20 |
--- gnustep-base.eclass 19 Aug 2007 18:15:04 -0000 1.2 |
21 |
+++ gnustep-base.eclass 17 Sep 2007 10:58:04 -0000 1.3 |
22 |
@@ -1,6 +1,6 @@ |
23 |
# Copyright 1999-2007 Gentoo Foundation |
24 |
# Distributed under the terms of the GNU General Public License v2 |
25 |
-# $Header: /var/cvsroot/gentoo-x86/eclass/gnustep-base.eclass,v 1.2 2007/08/19 18:15:04 grobian Exp $ |
26 |
+# $Header: /var/cvsroot/gentoo-x86/eclass/gnustep-base.eclass,v 1.3 2007/09/17 10:58:04 grobian Exp $ |
27 |
|
28 |
inherit eutils flag-o-matic |
29 |
|
30 |
@@ -98,15 +98,14 @@ |
31 |
# Set rpath in ldflags when available |
32 |
case ${CHOST} in |
33 |
*-linux-gnu|*-solaris*) |
34 |
- append-ldflags \ |
35 |
- -Wl,-rpath="${GNUSTEP_SYSTEM_LIBRARIES}" \ |
36 |
- -L"${GNUSTEP_SYSTEM_LIBRARIES}" |
37 |
- ;; |
38 |
- *) |
39 |
- append-ldflags \ |
40 |
- -L"${GNUSTEP_SYSTEM_LIBRARIES}" |
41 |
+ is-ldflagq -Wl,-rpath="${GNUSTEP_SYSTEM_LIBRARIES}" \ |
42 |
+ || append-ldflags \ |
43 |
+ -Wl,-rpath="${GNUSTEP_SYSTEM_LIBRARIES}" |
44 |
;; |
45 |
esac |
46 |
+ is-ldflagq -L"${GNUSTEP_SYSTEM_LIBRARIES}" \ |
47 |
+ || append-ldflags \ |
48 |
+ -L"${GNUSTEP_SYSTEM_LIBRARIES}" |
49 |
|
50 |
# Set up env vars for make operations |
51 |
GS_ENV=( AUXILIARY_LDFLAGS="${LDFLAGS}" \ |
52 |
|
53 |
|
54 |
|
55 |
-- |
56 |
gentoo-commits@g.o mailing list |