[45042] trunk/dports/lang/perl5.8/Portfile
mcalhoun at macports.org
mcalhoun at macports.org
Wed Jan 7 03:48:17 PST 2009
Revision: 45042
http://trac.macports.org/changeset/45042
Author: mcalhoun at macports.org
Date: 2009-01-07 03:48:14 -0800 (Wed, 07 Jan 2009)
Log Message:
-----------
perl5.8: Allow perl to find p5-* ports installed by version 5.8.8.
Attempt to fix problems described in #17803.
Modified Paths:
--------------
trunk/dports/lang/perl5.8/Portfile
Modified: trunk/dports/lang/perl5.8/Portfile
===================================================================
--- trunk/dports/lang/perl5.8/Portfile 2009-01-07 08:51:49 UTC (rev 45041)
+++ trunk/dports/lang/perl5.8/Portfile 2009-01-07 11:48:14 UTC (rev 45042)
@@ -5,6 +5,7 @@
name perl5.8
version 5.8.9
+revision 1
categories lang
platforms darwin freebsd linux
maintainers ricci openmaintainer
@@ -46,6 +47,13 @@
-D cc=\${CC} \
-D ld=\${CC}
+# Allow perl to find p5-* port installed by the last version
+if { [variant_isset threads] } {
+ configure.args-append "-D inc_version_list=\"5.8.8 5.8.8/${os.platform}-thread-multi-2level\""
+} else {
+ configure.args-append "-D inc_version_list=\"5.8.8 5.8.8/${os.platform}-2level\""
+}
+
set exclude_libs {bind gdbm db}
post-patch {
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20090107/2c5eea7e/attachment.html>
More information about the macports-changes
mailing list