summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFabian Groffen <grobian@gentoo.org>2014-09-26 11:00:50 +0000
committerFabian Groffen <grobian@gentoo.org>2014-09-26 11:00:50 +0000
commitb5386913b859f985b1fc18d902aef95123b4d99b (patch)
tree69d8bb9eab06ed9e81bfb0c3a1132a97e3df7862 /dev-lang/perl
parentmask media-video/vdr-2.0.6 temp (diff)
downloadgentoo-2-b5386913b859f985b1fc18d902aef95123b4d99b.tar.gz
gentoo-2-b5386913b859f985b1fc18d902aef95123b4d99b.tar.bz2
gentoo-2-b5386913b859f985b1fc18d902aef95123b4d99b.zip
Fix linking on Darwin, bug #523730
(Portage version: 2.2.10.1-prefix/cvs/SunOS i386, signed Manifest commit with key 0x5F75F607C5C74E89)
Diffstat (limited to 'dev-lang/perl')
-rw-r--r--dev-lang/perl/ChangeLog6
-rw-r--r--dev-lang/perl/files/eblits/src_configure-v50180002.eblit5
2 files changed, 9 insertions, 2 deletions
diff --git a/dev-lang/perl/ChangeLog b/dev-lang/perl/ChangeLog
index 35057b7b44de..1bf2ca8931f2 100644
--- a/dev-lang/perl/ChangeLog
+++ b/dev-lang/perl/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for dev-lang/perl
# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-lang/perl/ChangeLog,v 1.435 2014/09/23 09:56:39 ago Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-lang/perl/ChangeLog,v 1.436 2014/09/26 11:00:50 grobian Exp $
+
+ 26 Sep 2014; Fabian Groffen <grobian@gentoo.org>
+ files/eblits/src_configure-v50180002.eblit:
+ Fix linking on Darwin, bug #523730
23 Sep 2014; Agostino Sarubbo <ago@gentoo.org> perl-5.18.2-r1.ebuild:
Stable for sparc, wrt bug #504786
diff --git a/dev-lang/perl/files/eblits/src_configure-v50180002.eblit b/dev-lang/perl/files/eblits/src_configure-v50180002.eblit
index 9927f9310c6f..3510e3af0385 100644
--- a/dev-lang/perl/files/eblits/src_configure-v50180002.eblit
+++ b/dev-lang/perl/files/eblits/src_configure-v50180002.eblit
@@ -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 @@ eblit-perl-src_configure() {
[[ ${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.