Modified: trunk/dports/science/mpich2/Portfile (83156 => 83157)
--- 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