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  
    7777}
    7878
    7979
    80 variant gcc44 description {Enable Fortran bindings (gfortran 4.4)} conflicts threadsafe universal gcc45 {
     80variant gcc44 description {Enable Fortran bindings (gfortran 4.4)} conflicts threadsafe universal gcc45 gcc46 {
    8181    depends_lib-append          port:gcc44
    8282    configure.fc                ${prefix}/bin/gfortran-mp-4.4
    8383    if { [variant_isset openmpi] } {
     
    8888    configure.post_args LDFLAGS="-L${prefix}/lib"
    8989}
    9090
    91 variant gcc45 description {Enable Fortran bindings (gfortran 4.5)} conflicts threadsafe universal gcc44 {
     91variant gcc45 description {Enable Fortran bindings (gfortran 4.5)} conflicts threadsafe universal gcc44 gcc46 {
    9292    depends_lib-append          port:gcc45
    9393    configure.fc                ${prefix}/bin/gfortran-mp-4.5
    9494    if { [variant_isset openmpi] } {
     
    9898    configure.args-append       --enable-fortran
    9999    configure.post_args LDFLAGS="-L${prefix}/lib"
    100100}
     101variant 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}
    101111
    102112
    103113livecheck.type      regex