[32636] trunk/dports/lang/perl5.10/Portfile

afb at macports.org afb at macports.org
Wed Jan 9 23:29:15 PST 2008


Revision: 32636
          http://trac.macosforge.org/projects/macports/changeset/32636
Author:   afb at macports.org
Date:     2008-01-09 23:29:14 -0800 (Wed, 09 Jan 2008)

Log Message:
-----------
fix inability to build p5-xml-parser and probably many others when MacPorts is not installed in /opt/local (#13885)

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

Modified: trunk/dports/lang/perl5.10/Portfile
===================================================================
--- trunk/dports/lang/perl5.10/Portfile	2008-01-10 07:11:21 UTC (rev 32635)
+++ trunk/dports/lang/perl5.10/Portfile	2008-01-10 07:29:14 UTC (rev 32636)
@@ -4,6 +4,7 @@
 
 name            perl5.10
 version         5.10.0
+revision        1
 categories      lang
 platforms		darwin
 maintainers     afb at macports.org
@@ -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/3031ec53/attachment.html


More information about the macports-changes mailing list