[69100] trunk/dports/lang/perl5.12

ricci at macports.org ricci at macports.org
Wed Jun 23 12:19:48 PDT 2010


Revision: 69100
          http://trac.macports.org/changeset/69100
Author:   ricci at macports.org
Date:     2010-06-23 12:19:44 -0700 (Wed, 23 Jun 2010)
Log Message:
-----------
update hints/darwin.sh patchfile so it sets a better MACOSX_DEPLOYMENT_TARGET for 10.5 and 10.6
remove use of duplicate patchfile

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

Modified: trunk/dports/lang/perl5.12/Portfile
===================================================================
--- trunk/dports/lang/perl5.12/Portfile	2010-06-23 16:32:05 UTC (rev 69099)
+++ trunk/dports/lang/perl5.12/Portfile	2010-06-23 19:19:44 UTC (rev 69100)
@@ -27,7 +27,7 @@
                     rmd160  8be9ff9bae56fdf03d64cee21ab2148c5d6464e1
 
 
-patchfiles	patch-Configure.diff patch-darwin.sh.diff
+patchfiles	patch-Configure.diff 
 
 platform darwin {
     patchfiles-append   patch-hints_darwin.diff

Modified: trunk/dports/lang/perl5.12/files/patch-hints_darwin.diff
===================================================================
--- trunk/dports/lang/perl5.12/files/patch-hints_darwin.diff	2010-06-23 16:32:05 UTC (rev 69099)
+++ trunk/dports/lang/perl5.12/files/patch-hints_darwin.diff	2010-06-23 19:19:44 UTC (rev 69100)
@@ -1,6 +1,35 @@
---- hints/darwin.sh.orig	2009-04-14 11:38:15.000000000 -0700
-+++ hints/darwin.sh	2009-08-24 10:55:26.000000000 -0700
-@@ -253,6 +253,10 @@
+--- hints/darwin.sh.b	2010-04-26 01:09:19.000000000 -0700
++++ hints/darwin.sh	2010-06-23 11:12:00.000000000 -0700
+@@ -134,7 +134,6 @@
+ 
+ # Shared library extension is .dylib.
+ # Bundle extension is .bundle.
+-ld='cc';
+ so='dylib';
+ dlext='bundle';
+ usedl='define';
+@@ -172,6 +171,20 @@
+    ldflags="${ldflags} -flat_namespace"
+    lddlflags="${ldflags} -bundle -undefined suppress"
+    ;;
++9.*)
++   lddlflags="${ldflags} -bundle -undefined dynamic_lookup"
++   case "$ld" in
++       *MACOSX_DEVELOPMENT_TARGET*) ;;
++       *) ld="env MACOSX_DEPLOYMENT_TARGET=10.5 ${ld}" ;;
++   esac
++   ;;
++10.*)
++   lddlflags="${ldflags} -bundle -undefined dynamic_lookup"
++   case "$ld" in
++       *MACOSX_DEVELOPMENT_TARGET*) ;;
++       *) ld="env MACOSX_DEPLOYMENT_TARGET=10.6 ${ld}" ;;
++   esac
++   ;;
+ *) 
+    lddlflags="${ldflags} -bundle -undefined dynamic_lookup"
+    case "$ld" in
+@@ -253,6 +266,10 @@
  ;;
  esac
  
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20100623/e130a23d/attachment.html>


More information about the macports-changes mailing list