[76835] trunk/dports/perl/p5-css/Portfile

pixilla at macports.org pixilla at macports.org
Wed Mar 9 21:46:53 PST 2011


Revision: 76835
          http://trac.macports.org/changeset/76835
Author:   pixilla at macports.org
Date:     2011-03-09 21:46:51 -0800 (Wed, 09 Mar 2011)
Log Message:
-----------
perl/p5-css:
Minor build fix.

Modified Paths:
--------------
    trunk/dports/perl/p5-css/Portfile

Modified: trunk/dports/perl/p5-css/Portfile
===================================================================
--- trunk/dports/perl/p5-css/Portfile	2011-03-10 05:40:16 UTC (rev 76834)
+++ trunk/dports/perl/p5-css/Portfile	2011-03-10 05:46:51 UTC (rev 76835)
@@ -24,8 +24,8 @@
 
 post-configure {
     ui_debug "Recompiling CSS::Parse::CompiledGrammar (see https://rt.cpan.org/Public/Bug/Display.html?id=53948)"
-    system "${prefix}/bin/perl -I${worksrcpath} ${filespath}/build-grammar.pl"
-    move -force CompiledGrammar.pm ${worksrcpath}/CSS/Parse
+    system "cd ${worksrcpath} && ${prefix}/bin/perl -I${worksrcpath} ${filespath}/build-grammar.pl"
+    move -force ${worksrcpath}/CompiledGrammar.pm ${worksrcpath}/CSS/Parse
 }
 
 post-destroot {
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20110309/1aa61b8c/attachment.html>


More information about the macports-changes mailing list