[120864] trunk/dports/math/dolfin/Portfile

sean at macports.org sean at macports.org
Tue Jun 10 03:50:31 PDT 2014


Revision: 120864
          https://trac.macports.org/changeset/120864
Author:   sean at macports.org
Date:     2014-06-10 03:50:31 -0700 (Tue, 10 Jun 2014)
Log Message:
-----------
dolfin: use /usr/bin/perl to silence tracemode warning

Modified Paths:
--------------
    trunk/dports/math/dolfin/Portfile

Modified: trunk/dports/math/dolfin/Portfile
===================================================================
--- trunk/dports/math/dolfin/Portfile	2014-06-10 10:50:26 UTC (rev 120863)
+++ trunk/dports/math/dolfin/Portfile	2014-06-10 10:50:31 UTC (rev 120864)
@@ -56,7 +56,7 @@
     default_variants +mpich
 }
 
-post-extract {
+post-patch {
     file mkdir ${worksrcpath}/build
     # delete the message telling users to source a bash file, which is unneeded
     # for the macports version
@@ -64,7 +64,7 @@
     reinplace "s,add_subdirectory(cmake/post-install),," ${worksrcpath}/CMakeLists.txt
 
     # we also need to find and replace all instances of '/usr/bin/env python'
-    system -W ${worksrcpath} "find . -type f -exec perl -pi -e 's,/usr/bin/env python,${prefix}/bin/python2.7,' {} +"
+    system -W ${worksrcpath} "find . -type f -exec /usr/bin/perl -pi -e 's,/usr/bin/env python,${prefix}/bin/python2.7,' {} +"
 }
 
 # dolfin's configure seems to be too good at find default compilers so we
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20140610/3c2d0fac/attachment.html>


More information about the macports-changes mailing list