Revision: 83157 http://trac.macports.org/changeset/83157 Author: ryandesign@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
participants (1)
-
ryandesign@macports.org