Ticket #33273: Portfile-hdf5-18.diff

File Portfile-hdf5-18.diff, 873 bytes (added by mroman@…, 13 years ago)
  • Portfile

    old new  
    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