Ticket #13961: perl5.8-universal.diff
File perl5.8-universal.diff, 1.6 KB (added by blb@…, 16 years ago) |
---|
-
files/patch-hints_darwin.sh.diff
1 --- hints/darwin.sh.orig 2008-05-25 15:13:01.000000000 -0600 2 +++ hints/darwin.sh 2009-04-20 00:49:12.000000000 -0600 3 @@ -173,11 +173,7 @@ 4 lddlflags="${ldflags} -bundle -undefined suppress" 5 ;; 6 *) 7 - lddlflags="${ldflags} -bundle -undefined dynamic_lookup" 8 - case "$ld" in 9 - *MACOSX_DEVELOPMENT_TARGET*) ;; 10 - *) ld="env MACOSX_DEPLOYMENT_TARGET=10.3 ${ld}" ;; 11 - esac 12 + lddlflags="${ldflags} @@UNIVARCHS@@ -bundle -undefined dynamic_lookup" 13 ;; 14 esac 15 ldlibpthname='DYLD_LIBRARY_PATH'; -
Portfile
73 73 } 74 74 } 75 75 76 universal_variant no77 78 76 test.run yes 79 77 80 78 post-destroot { … … 104 102 } 105 103 } 106 104 105 variant universal { 106 global univarchs 107 set univarchs "" 108 foreach arch ${configure.universal_archs} { 109 set univarchs "${univarchs} -arch ${arch}" 110 } 111 configure.post_args-append -Accflags="-isysroot ${configure.universal_sysroot} ${univarchs}" \ 112 -Aldflags="-Wl,-syslibroot ${configure.universal_sysroot} ${univarchs}" 113 patchfiles-append patch-hints_darwin.sh.diff 114 post-patch { 115 reinplace "s|@@UNIVARCHS@@|${univarchs}|g" ${worksrcpath}/hints/darwin.sh 116 } 117 } 118 107 119 livecheck.check regex 108 120 livecheck.url http://www.cpan.org/src 109 121 livecheck.regex {perl-(5\.8\.\d)\.}