Ticket #13743: Portfile.2.diff
File Portfile.2.diff, 1.1 KB (added by takeshi@…, 17 years ago) |
---|
-
Portfile
old new 39 39 build.dir ${configure.dir} 40 40 41 41 destroot.dir ${build.dir} 42 set wrappers {mpirun mpiexec mpicc mpicxx mpic++} 42 43 post-destroot { 43 foreach bin { mpicc mpirun }{44 foreach bin $wrappers { 44 45 system "cd ${destroot}${prefix}/bin \ 45 && ln -sf ${prefix}/lib/${name}/bin/${bin} open${bin}"46 && ln -sf ${prefix}/lib/${name}/bin/${bin} ${bin}" 46 47 } 47 48 } 48 49 … … 59 60 # gcc42. Too bad that the actual gfortran binary in gcc42 is called 60 61 # gfortran-mp-4.2, otherwise we could just say bin:gfortran:gcc42. 61 62 depends_build port:gcc42 63 lappend wrappers mpif77 mpif90 64 } 65 66 variant g95 { 67 configure.args-delete --disable-f77 --disable-f90 68 configure.args-append --enable-f77 --enable-f90 69 configure.f77 ${prefix}/bin/g95 70 configure.fc ${prefix}/bin/g95 71 depends_build port:g95 72 lappend wrappers mpif77 mpif90 62 73 } 63 74 64 75 livecheck.check regex 65 76 livecheck.url http://www.open-mpi.org/software/ 66 77 livecheck.regex openmpi-(\[0-9\.\]+).tar.bz2 78