Ticket #22480: Portfile-hdf5-18.diff

File Portfile-hdf5-18.diff, 794 bytes (added by jcharris@…, 14 years ago)

Suggested patch allowing openmpi variant to work with Fortran.

  • (a) /opt/local/var/macports/sources/rsync.macports.org/release/ports/science/hdf5-18/Portfile vs. (b) Portfile-hdf5-18

    a b  
    6060variant openmpi description {Enable Parallel HDF5} conflicts universal {
    6161    depends_lib-append          port:openmpi
    6262    configure.cc                ${prefix}/bin/openmpicc
    63     configure.args-delete       --disable-parallel --enable-cxx
    64     configure.args-append       --enable-parallel --disable-cxx
     63    configure.fc                ${prefix}/bin/openmpif77
     64    configure.post_args LDFLAGS="-L${prefix}/lib"
     65    configure.args-delete       --disable-parallel --enable-cxx --disable-fortran
     66    configure.args-append       --enable-parallel --disable-cxx --enable-fortran
    6567}
    6668
    6769