Ticket #28432: Portfile.diff
File Portfile.diff, 1.7 KB (added by Tom.Schoonjans@…, 14 years ago) |
---|
-
Portfile
old new 7 7 set realname hdf5 8 8 name ${realname}-18 9 9 version 1.8.5-patch1 10 revision 110 revision 2 11 11 categories science 12 12 maintainers mmoll openmaintainer 13 13 … … 46 46 reinplace -E {s|-arch [a-z0-9_]+||g} \ 47 47 ${dir}/tools/misc/h5cc \ 48 48 ${dir}/c++/src/h5c++ \ 49 ${dir}/src/libhdf5.settings 49 ${dir}/src/libhdf5.settings \ 50 ${dir}/fortran/src/h5fc 50 51 } 51 52 } 52 53 … … 67 68 configure.args-append --enable-parallel --disable-cxx 68 69 } 69 70 71 72 variant gcc44 description {Enable Fortran bindings (gfortran 4.5)} conflicts threadsafe universal openmpi gcc45 { 73 depends_lib-append port:gcc45 74 configure.fc ${prefix}/bin/gfortran-mp-4.4 75 configure.args-delete --disable-fortran --enable-shared 76 configure.args-append --enable-fortran 77 configure.post_args LDFLAGS="-L${prefix}/lib" 78 } 79 80 variant gcc45 description {Enable Fortran bindings (gfortran 4.5)} conflicts threadsafe universal openmpi gcc44 { 81 depends_lib-append port:gcc45 82 configure.fc ${prefix}/bin/gfortran-mp-4.5 83 configure.args-delete --disable-fortran --enable-shared 84 configure.args-append --enable-fortran 85 configure.post_args LDFLAGS="-L${prefix}/lib" 86 } 87 88 70 89 livecheck.type regex 71 90 livecheck.url http://www.hdfgroup.org/HDF5/release/obtain5.html 72 91 livecheck.regex 5-(\[0-9.\]+)