Changeset 83075
- Timestamp:
- 08/25/11 07:31:47 (4 years ago)
- File:
-
- 1 edited
-
trunk/dports/science/mpich2/Portfile (modified) (6 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/dports/science/mpich2/Portfile
r82653 r83075 4 4 PortSystem 1.0 5 5 name mpich2 6 version 1.4 7 revision 1 6 version 1.4.1 8 7 license BSD 9 8 categories science parallel net … … 13 12 description Message Passing Interface (MPI) Library 14 13 long_description \ 15 MPICH2 is an implementation of the Message-Passing Interface (MPI). The \16 goals of MPICH2 are to provide an MPI implementation for important \17 platforms, including clusters, SMPs, and massively parallel processors. \18 It also provides a vehicle for MPI implementation research and for \19 developing new and better parallel programming environments.14 MPICH2 is an implementation of the Message-Passing Interface (MPI). The \ 15 goals of MPICH2 are to provide an MPI implementation for important \ 16 platforms, including clusters, SMPs, and massively parallel processors. \ 17 It also provides a vehicle for MPI implementation research and for \ 18 developing new and better parallel programming environments. 20 19 21 20 … … 23 22 master_sites ${homepage}downloads/tarballs/${version}/ 24 23 25 checksums md5 cf7f8c12161b0af3f111e33c6d15f5c6\26 sha1 011028456e268b013c55a00dfe51f4bc905c1c48\27 rmd160 ecd60567d80ad08ecd06e8fe8cfaeb626941f76824 checksums md5 5c423a39900113ab7b01d8b57a0fd8fa \ 25 sha1 dd26c462be95b214b4726740c64e4d3d3578b091 \ 26 rmd160 4f7746b116331e88abe275a65da6f1b7bf8390cb 28 27 29 28 # Don't build if lammpi is around. 30 29 pre-configure { 31 if {[file exists ${prefix}/etc/lammpi/lam-helpfile]} {30 if {[file exists ${prefix}/etc/lammpi/lam-helpfile]} { 32 31 ui_error "Cannot co-exist with lammpi; please deactivate lammpi before configuring." 33 32 return -code error … … 37 36 pre-build { 38 37 if {[file exists ${prefix}/etc/lammpi/lam-helpfile]} { 39 ui_error "Cannot co-exist with lammpi; please deactivate lammpi before building."40 return -code error41 }38 ui_error "Cannot co-exist with lammpi; please deactivate lammpi before building." 39 return -code error 40 } 42 41 } 43 42 … … 60 59 --with-pm=hydra \ 61 60 --enable-shared \ 61 --enable-cache \ 62 --enable-smpcoll \ 62 63 --enable-base-cache 63 64 … … 67 68 use_parallel_build no 68 69 conflicts lammpi 70 71 # Fixes for the beta DESTDIR support in 1.4.1. Should go away in 1.5 branch. 72 post-patch { 73 reinplace -E "s|fix=\\\$\\\{DESTDIR\\\}|fix=|g" \ 74 ${worksrcpath}/Makefile.in 75 reinplace -E "s|dir=\\\$\\\{DESTDIR\\\}|dir=|g" \ 76 ${worksrcpath}/Makefile.in 77 } 78 79 post-destroot { 80 reinplace -E "s|${destroot}||g" ${destroot}/${prefix}/bin/mpicxx 81 reinplace -E "s|${destroot}||g" ${destroot}/${prefix}/bin/mpicc 82 reinplace -E "s|${destroot}||g" ${destroot}/${prefix}/etc/mpicxx.conf 83 reinplace -E "s|${destroot}||g" ${destroot}/${prefix}/etc/mpicc.conf 84 85 file delete ${destroot}/${prefix}/sbin/mpeuninstall 86 } 69 87 70 88 # As MPICH creates compiler wrappers, there are lots of
Note: See TracChangeset
for help on using the changeset viewer.

