[69103] trunk/dports/lang/perl5.10

ricci at macports.org ricci at macports.org
Wed Jun 23 13:54:38 PDT 2010


Revision: 69103
          http://trac.macports.org/changeset/69103
Author:   ricci at macports.org
Date:     2010-06-23 13:54:32 -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.10/Portfile
    trunk/dports/lang/perl5.10/files/patch-hints_darwin.diff

Modified: trunk/dports/lang/perl5.10/Portfile
===================================================================
--- trunk/dports/lang/perl5.10/Portfile	2010-06-23 19:23:11 UTC (rev 69102)
+++ trunk/dports/lang/perl5.10/Portfile	2010-06-23 20:54:32 UTC (rev 69103)
@@ -26,7 +26,7 @@
                     sha1    98b762b5cd4fb76dd354dfa5ba0d21bc2acacaf2 \
                     rmd160  840b3a5ac3d7f517770ce789676ebd9154d9ee5a
 
-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.10/files/patch-hints_darwin.diff
===================================================================
--- trunk/dports/lang/perl5.10/files/patch-hints_darwin.diff	2010-06-23 19:23:11 UTC (rev 69102)
+++ trunk/dports/lang/perl5.10/files/patch-hints_darwin.diff	2010-06-23 20:54:32 UTC (rev 69103)
@@ -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	2009-04-14 11:38:15.000000000 -0700
++++ hints/darwin.sh	2010-06-23 12:25:58.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/07438495/attachment.html>


More information about the macports-changes mailing list