[32623] trunk/dports/lang/perl5.8/Portfile

ryandesign at macports.org ryandesign at macports.org
Wed Jan 9 15:32:00 PST 2008


Revision: 32623
          http://trac.macosforge.org/projects/macports/changeset/32623
Author:   ryandesign at macports.org
Date:     2008-01-09 15:31:57 -0800 (Wed, 09 Jan 2008)

Log Message:
-----------
perl5.8: fix inability to build p5-xml-parser and probably many others when MacPorts is not installed in /opt/local; see #13885

Modified Paths:
--------------
    trunk/dports/lang/perl5.8/Portfile

Modified: trunk/dports/lang/perl5.8/Portfile
===================================================================
--- trunk/dports/lang/perl5.8/Portfile	2008-01-09 23:12:27 UTC (rev 32622)
+++ trunk/dports/lang/perl5.8/Portfile	2008-01-09 23:31:57 UTC (rev 32623)
@@ -4,6 +4,7 @@
 
 name            perl5.8
 version         5.8.8
+revision        1
 categories      lang
 platforms		darwin freebsd linux
 maintainers     nomaintainer
@@ -32,6 +33,10 @@
     }
 }
 
+pre-configure {
+    reinplace "s|/opt/local|${prefix}|g" ${worksrcpath}/Configure
+}
+
 configure.env       LC_ALL=C
 configure.cmd       sh Configure
 configure.pre_args  

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20080109/10d15438/attachment.html


More information about the macports-changes mailing list