[35900] trunk/dports/lang/perl5.8/Portfile
mcalhoun at macports.org
mcalhoun at macports.org
Wed Apr 9 09:24:30 PDT 2008
Revision: 35900
http://trac.macosforge.org/projects/macports/changeset/35900
Author: mcalhoun at macports.org
Date: 2008-04-09 09:24:23 -0700 (Wed, 09 Apr 2008)
Log Message:
-----------
perl5.8:
Fixed shared variant on Mac OS X (fixes #14041).
Fixed livecheck.
Modified Paths:
--------------
trunk/dports/lang/perl5.8/Portfile
Modified: trunk/dports/lang/perl5.8/Portfile
===================================================================
--- trunk/dports/lang/perl5.8/Portfile 2008-04-09 15:55:00 UTC (rev 35899)
+++ trunk/dports/lang/perl5.8/Portfile 2008-04-09 16:24:23 UTC (rev 35900)
@@ -68,7 +68,19 @@
configure.post_args-append -Dcc=/usr/bin/gcc-4.0
}
+platform darwin 9 {
+ post-patch {
+ if {[variant_isset shared]} {
+ reinplace \
+ "s|\$(CC) \$(CLDFLAGS) \$(NAMESPACEFLAGS) -o miniperl |\$(CC) \$(CLDFLAGS) -o miniperl |g" \
+ ${worksrcpath}/Makefile.SH
+ reinplace \
+ "s|miniperlmain\$(OBJ_EXT) opmini\$(OBJ_EXT) \$(LLIBPERL) \$(libs)|miniperlmain\$(OBJ_EXT) opmini\$(OBJ_EXT) perl\$(OBJ_EXT) \$(filter-out op\$(OBJ_EXT),\$(obj)) \$(libs)|g" \
+ ${worksrcpath}/Makefile.SH
+ }
+ }
+}
+
livecheck.check regex
-livecheck.url ${master_sites}
-livecheck.regex latest_is_(\\d+(?:\\.\\d+)*)
-
+livecheck.url http://www.cpan.org/src
+livecheck.regex latest_[join [lrange [split ${version} .] 0 1] .]_is_(\\d+(?:\\.\\d+)*)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20080409/2f7a50a9/attachment.html
More information about the macports-changes
mailing list