Ticket #33273: Portfile-hdf5-18.2.diff
File Portfile-hdf5-18.2.diff, 1.7 KB (added by mroman@…, 13 years ago) |
---|
-
Portfile
old new 77 77 } 78 78 79 79 80 variant gcc44 description {Enable Fortran bindings (gfortran 4.4)} conflicts threadsafe universal gcc45 {80 variant gcc44 description {Enable Fortran bindings (gfortran 4.4)} conflicts threadsafe universal gcc45 gcc46 { 81 81 depends_lib-append port:gcc44 82 82 configure.fc ${prefix}/bin/gfortran-mp-4.4 83 83 if { [variant_isset openmpi] } { … … 88 88 configure.post_args LDFLAGS="-L${prefix}/lib" 89 89 } 90 90 91 variant gcc45 description {Enable Fortran bindings (gfortran 4.5)} conflicts threadsafe universal gcc44 {91 variant gcc45 description {Enable Fortran bindings (gfortran 4.5)} conflicts threadsafe universal gcc44 gcc46 { 92 92 depends_lib-append port:gcc45 93 93 configure.fc ${prefix}/bin/gfortran-mp-4.5 94 94 if { [variant_isset openmpi] } { … … 98 98 configure.args-append --enable-fortran 99 99 configure.post_args LDFLAGS="-L${prefix}/lib" 100 100 } 101 variant gcc46 description {Enable Fortran bindings (gfortran 4.6)} conflicts threadsafe universal gcc44 gcc45 { 102 depends_lib-append port:gcc46 103 configure.fc ${prefix}/bin/gfortran-mp-4.6 104 if { [variant_isset openmpi] } { 105 configure.fcflags-append -I${prefix}/include/openmpi -L${prefix}/lib -lmpi_f90 -lmpi_f77 -lmpi 106 } 107 configure.args-delete --disable-fortran 108 configure.args-append --enable-fortran 109 configure.post_args LDFLAGS="-L${prefix}/lib" 110 } 101 111 102 112 103 113 livecheck.type regex