[65226] trunk/dports/sysutils/moreutils/Portfile

ryandesign at macports.org ryandesign at macports.org
Tue Mar 23 20:54:59 PDT 2010


Revision: 65226
          http://trac.macports.org/changeset/65226
Author:   ryandesign at macports.org
Date:     2010-03-23 20:54:55 -0700 (Tue, 23 Mar 2010)
Log Message:
-----------
moreutils: do patching in the patch phase, not the build phase

Modified Paths:
--------------
    trunk/dports/sysutils/moreutils/Portfile

Modified: trunk/dports/sysutils/moreutils/Portfile
===================================================================
--- trunk/dports/sysutils/moreutils/Portfile	2010-03-24 03:36:59 UTC (rev 65225)
+++ trunk/dports/sysutils/moreutils/Portfile	2010-03-24 03:54:55 UTC (rev 65226)
@@ -29,8 +29,8 @@
                 sha1    ebf83f430a8c30b4f787e0b469ef2a37b6e2ae42 \
                 rmd160  5b7be7b4b07497c04f5792021bf1dc54ec5d07a8
 depends_run     path:bin/perl:perl5
-use_configure   no
-pre-build   {
+
+post-patch {
         reinplace "s|/usr/bin/perl|${prefix}/bin/perl|" \
         ${worksrcpath}/vidir ${worksrcpath}/vipe \
         ${worksrcpath}/ts ${worksrcpath}/combine \
@@ -44,6 +44,8 @@
 " ${worksrcpath}/Makefile
 }
 
+use_configure   no
+
 build.args-append   CC=${configure.cc}
 
 destroot.env-append	PREFIX=${prefix}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20100323/0157db31/attachment.html>


More information about the macports-changes mailing list