diff options
Diffstat (limited to 'lang/perl5/patches/patch-hints_darwin.sh')
-rw-r--r-- | lang/perl5/patches/patch-hints_darwin.sh | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/lang/perl5/patches/patch-hints_darwin.sh b/lang/perl5/patches/patch-hints_darwin.sh index 054f6ae493b..25afb6eb01a 100644 --- a/lang/perl5/patches/patch-hints_darwin.sh +++ b/lang/perl5/patches/patch-hints_darwin.sh @@ -1,19 +1,20 @@ -$NetBSD: patch-hints_darwin.sh,v 1.5 2014/11/22 15:45:41 bsiegert Exp $ +$NetBSD: patch-hints_darwin.sh,v 1.6 2015/06/11 13:44:23 adam Exp $ MACOSX_DEVELOPMENT_TARGET is required on version of OS X pre 10.6 See Perl bug #117433 ---- hints/darwin.sh.orig 2014-09-14 11:31:02.000000000 +0000 +--- hints/darwin.sh.orig 2015-05-13 20:19:29.000000000 +0000 +++ hints/darwin.sh -@@ -185,13 +185,16 @@ case "$osvers" in +@@ -200,7 +200,7 @@ case "$osvers" in ldflags="${ldflags} -flat_namespace" lddlflags="${ldflags} -bundle -undefined suppress" ;; -*) -+[7-9].*) ++[7-9].*) + # MACOSX_DEPLOYMENT_TARGET selects the minimum OS level we want to support + # https://developer.apple.com/library/mac/documentation/DeveloperTools/Conceptual/cross_development/Configuring/configuring.html lddlflags="${ldflags} -bundle -undefined dynamic_lookup" - case "$ld" in - *MACOSX_DEVELOPMENT_TARGET*) ;; +@@ -209,6 +209,9 @@ case "$osvers" in *) ld="env MACOSX_DEPLOYMENT_TARGET=10.3 ${ld}" ;; esac ;; |