Skip to content

Commit

Permalink
dev-lang/perl: update Darwin ld fix for newer versions
Browse files Browse the repository at this point in the history
Package-Manager: portage-2.2.20-prefix
  • Loading branch information
grobian committed Jan 7, 2016
1 parent dd6618f commit 43f56a8
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions dev-lang/perl/files/eblits/src_configure-v50180002.eblit
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 43f56a8

Please sign in to comment.