grobian 14/09/26 11:00:50 Modified: src_configure-v50180002.eblit Log: Fix linking on Darwin, bug #523730 (Portage version: 2.2.10.1-prefix/cvs/SunOS i386, signed Manifest commit with key 0x5F75F607C5C74E89)
Revision Changes Path 1.3 dev-lang/perl/files/eblits/src_configure-v50180002.eblit file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-lang/perl/files/eblits/src_configure-v50180002.eblit?rev=1.3&view=markup 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 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-lang/perl/files/eblits/src_configure-v50180002.eblit?r1=1.2&r2=1.3 Index: src_configure-v50180002.eblit =================================================================== RCS file: /var/cvsroot/gentoo-x86/dev-lang/perl/files/eblits/src_configure-v50180002.eblit,v retrieving revision 1.2 retrieving revision 1.3 diff -u -r1.2 -r1.3 --- src_configure-v50180002.eblit 7 Jul 2014 12:44:12 -0000 1.2 +++ src_configure-v50180002.eblit 26 Sep 2014 11:00:50 -0000 1.3 @@ -1,6 +1,6 @@ # Copyright 1999-2014 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $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 $ +# $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 $ myconf() { # the myconf array is declared in src_configure @@ -74,6 +74,9 @@ [[ ${ELIBC} == "FreeBSD" ]] && myconf "-Dlibc=/usr/$(get_libdir)/libc.a" + # Make sure we can do the final link #523730 + [[ ${CHOST} == *-darwin* ]] && myconf "-Dld=$(tc-getCC)" + # Prefix: the host system needs not to follow Gentoo multilib stuff, and in # Prefix itself we don't do multilib either, so make sure perl can find # something compatible.
