summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFabian Groffen <grobian@gentoo.org>2016-01-07 10:31:26 +0100
committerFabian Groffen <grobian@gentoo.org>2016-01-07 10:33:27 +0100
commit43f56a82979e5b283983f3486c27cd296ab5b450 (patch)
treeacd72498084300e2a662242f544f906b11629dc5 /dev-lang/perl
parentdev-python/django-tables2: Version Bump (diff)
downloadgentoo-43f56a82979e5b283983f3486c27cd296ab5b450.tar.gz
gentoo-43f56a82979e5b283983f3486c27cd296ab5b450.tar.bz2
gentoo-43f56a82979e5b283983f3486c27cd296ab5b450.zip
dev-lang/perl: update Darwin ld fix for newer versions
Package-Manager: portage-2.2.20-prefix
Diffstat (limited to 'dev-lang/perl')
-rw-r--r--dev-lang/perl/files/eblits/src_configure-v50180002.eblit6
1 files changed, 4 insertions, 2 deletions
diff --git a/dev-lang/perl/files/eblits/src_configure-v50180002.eblit b/dev-lang/perl/files/eblits/src_configure-v50180002.eblit
index dfe978130932..018ed283beae 100644
--- a/dev-lang/perl/files/eblits/src_configure-v50180002.eblit
+++ b/dev-lang/perl/files/eblits/src_configure-v50180002.eblit
@@ -74,8 +74,10 @@ 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)"
+ # Make sure we can do the final link #523730, need to set deployment
+ # target to override hardcoded 10.3 which breaks on modern OSX
+ [[ ${CHOST} == *-darwin* ]] && \
+ myconf "-Dld=env MACOSX_DEPLOYMENT_TARGET=${MACOSX_DEPLOYMENT_TARGET} $(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