New Ticket     Tickets     Wiki     Browse Source     Timeline     Roadmap     Ticket Reports     Search

Changeset 83157


Ignore:
Timestamp:
08/26/11 10:56:30 (4 years ago)
Author:
ryandesign@…
Message:

mpich2: simplify post-destroot block, and do not put a / before ${prefix}

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/dports/science/mpich2/Portfile

    r83156 r83157  
    8181 
    8282post-destroot { 
    83     reinplace -E "s|${destroot}||g" ${destroot}/${prefix}/bin/mpicxx 
    84     reinplace -E "s|${destroot}||g" ${destroot}/${prefix}/bin/mpicc 
    85     reinplace -E "s|${destroot}||g" ${destroot}/${prefix}/etc/mpicxx.conf 
    86     reinplace -E "s|${destroot}||g" ${destroot}/${prefix}/etc/mpicc.conf 
     83    reinplace -E "s|${destroot}||g" ${destroot}${prefix/bin/mpicxx \ 
     84                                    ${destroot}${prefix/bin/mpicc \ 
     85                                    ${destroot}${prefix/etc/mpicxx.conf \ 
     86                                    ${destroot}${prefix/etc/mpicc.conf 
    8787 
    88     file delete ${destroot}/${prefix}/sbin/mpeuninstall 
     88    file delete ${destroot}${prefix/sbin/mpeuninstall 
    8989} 
    9090 
Note: See TracChangeset for help on using the changeset viewer.