[105375] trunk/dports/lang/perl5.16

dh at macports.org dh at macports.org
Thu Apr 18 23:19:25 PDT 2013


Revision: 105375
          https://trac.macports.org/changeset/105375
Author:   dh at macports.org
Date:     2013-04-18 23:19:25 -0700 (Thu, 18 Apr 2013)
Log Message:
-----------
Correctly set MACOSX_DEVELOPMENT_TARGET on darwin versions 11 and 12 for perl5.16

Modified Paths:
--------------
    trunk/dports/lang/perl5.16/Portfile
    trunk/dports/lang/perl5.16/files/patch-hints_darwin.sh.diff

Modified: trunk/dports/lang/perl5.16/Portfile
===================================================================
--- trunk/dports/lang/perl5.16/Portfile	2013-04-19 06:16:53 UTC (rev 105374)
+++ trunk/dports/lang/perl5.16/Portfile	2013-04-19 06:19:25 UTC (rev 105375)
@@ -5,7 +5,7 @@
 
 name            perl5.16
 version         5.16.1
-revision        1
+revision        2
 set branch      [join [lrange [split ${version} .] 0 1] .]
 categories      lang
 license         {Artistic-1 GPL}

Modified: trunk/dports/lang/perl5.16/files/patch-hints_darwin.sh.diff
===================================================================
--- trunk/dports/lang/perl5.16/files/patch-hints_darwin.sh.diff	2013-04-19 06:16:53 UTC (rev 105374)
+++ trunk/dports/lang/perl5.16/files/patch-hints_darwin.sh.diff	2013-04-19 06:19:25 UTC (rev 105375)
@@ -8,7 +8,7 @@
  so='dylib';
  dlext='bundle';
  usedl='define';
-@@ -181,6 +180,27 @@ case "$osvers" in
+@@ -181,6 +180,34 @@ case "$osvers" in
     ldflags="${ldflags} -flat_namespace"
     lddlflags="${ldflags} -bundle -undefined suppress"
     ;;
@@ -33,6 +33,13 @@
 +       *) ld="env MACOSX_DEPLOYMENT_TARGET=10.7 ${ld}" ;;
 +   esac
 +   ;;
++12.*)
++   lddlflags="${ldflags} -bundle -undefined dynamic_lookup"
++   case "$ld" in
++       *MACOSX_DEVELOPMENT_TARGET*) ;;
++       *) ld="env MACOSX_DEPLOYMENT_TARGET=10.8 ${ld}" ;;
++   esac
++   ;;
  *) 
     lddlflags="${ldflags} -bundle -undefined dynamic_lookup"
     case "$ld" in
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20130418/5398b54b/attachment.html>


More information about the macports-changes mailing list