[83157] trunk/dports/science/mpich2/Portfile
ryandesign at macports.org
ryandesign at macports.org
Fri Aug 26 10:56:31 PDT 2011
Revision: 83157
http://trac.macports.org/changeset/83157
Author: ryandesign at macports.org
Date: 2011-08-26 10:56:30 -0700 (Fri, 26 Aug 2011)
Log Message:
-----------
mpich2: simplify post-destroot block, and do not put a / before ${prefix}
Modified Paths:
--------------
trunk/dports/science/mpich2/Portfile
Modified: trunk/dports/science/mpich2/Portfile
===================================================================
--- trunk/dports/science/mpich2/Portfile 2011-08-26 17:54:29 UTC (rev 83156)
+++ trunk/dports/science/mpich2/Portfile 2011-08-26 17:56:30 UTC (rev 83157)
@@ -80,12 +80,12 @@
}
post-destroot {
- reinplace -E "s|${destroot}||g" ${destroot}/${prefix}/bin/mpicxx
- reinplace -E "s|${destroot}||g" ${destroot}/${prefix}/bin/mpicc
- reinplace -E "s|${destroot}||g" ${destroot}/${prefix}/etc/mpicxx.conf
- reinplace -E "s|${destroot}||g" ${destroot}/${prefix}/etc/mpicc.conf
+ reinplace -E "s|${destroot}||g" ${destroot}${prefix/bin/mpicxx \
+ ${destroot}${prefix/bin/mpicc \
+ ${destroot}${prefix/etc/mpicxx.conf \
+ ${destroot}${prefix/etc/mpicc.conf
- file delete ${destroot}/${prefix}/sbin/mpeuninstall
+ file delete ${destroot}${prefix/sbin/mpeuninstall
}
# As MPICH creates compiler wrappers, there are lots of
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20110826/467ee422/attachment.html>
More information about the macports-changes
mailing list