1 |
grobian 14/09/26 11:00:50 |
2 |
|
3 |
Modified: src_configure-v50180002.eblit |
4 |
Log: |
5 |
Fix linking on Darwin, bug #523730 |
6 |
|
7 |
(Portage version: 2.2.10.1-prefix/cvs/SunOS i386, signed Manifest commit with key 0x5F75F607C5C74E89) |
8 |
|
9 |
Revision Changes Path |
10 |
1.3 dev-lang/perl/files/eblits/src_configure-v50180002.eblit |
11 |
|
12 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-lang/perl/files/eblits/src_configure-v50180002.eblit?rev=1.3&view=markup |
13 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-lang/perl/files/eblits/src_configure-v50180002.eblit?rev=1.3&content-type=text/plain |
14 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-lang/perl/files/eblits/src_configure-v50180002.eblit?r1=1.2&r2=1.3 |
15 |
|
16 |
Index: src_configure-v50180002.eblit |
17 |
=================================================================== |
18 |
RCS file: /var/cvsroot/gentoo-x86/dev-lang/perl/files/eblits/src_configure-v50180002.eblit,v |
19 |
retrieving revision 1.2 |
20 |
retrieving revision 1.3 |
21 |
diff -u -r1.2 -r1.3 |
22 |
--- src_configure-v50180002.eblit 7 Jul 2014 12:44:12 -0000 1.2 |
23 |
+++ src_configure-v50180002.eblit 26 Sep 2014 11:00:50 -0000 1.3 |
24 |
@@ -1,6 +1,6 @@ |
25 |
# Copyright 1999-2014 Gentoo Foundation |
26 |
# Distributed under the terms of the GNU General Public License v2 |
27 |
-# $Header: /var/cvsroot/gentoo-x86/dev-lang/perl/files/eblits/src_configure-v50180002.eblit,v 1.2 2014/07/07 12:44:12 pinkbyte Exp $ |
28 |
+# $Header: /var/cvsroot/gentoo-x86/dev-lang/perl/files/eblits/src_configure-v50180002.eblit,v 1.3 2014/09/26 11:00:50 grobian Exp $ |
29 |
|
30 |
myconf() { |
31 |
# the myconf array is declared in src_configure |
32 |
@@ -74,6 +74,9 @@ |
33 |
|
34 |
[[ ${ELIBC} == "FreeBSD" ]] && myconf "-Dlibc=/usr/$(get_libdir)/libc.a" |
35 |
|
36 |
+ # Make sure we can do the final link #523730 |
37 |
+ [[ ${CHOST} == *-darwin* ]] && myconf "-Dld=$(tc-getCC)" |
38 |
+ |
39 |
# Prefix: the host system needs not to follow Gentoo multilib stuff, and in |
40 |
# Prefix itself we don't do multilib either, so make sure perl can find |
41 |
# something compatible. |