Ticket #28432: Portfile.diff

File Portfile.diff, 1.7 KB (added by Tom.Schoonjans@…, 14 years ago)
  • Portfile

    old new  
    77set realname        hdf5
    88name                ${realname}-18
    99version             1.8.5-patch1
    10 revision            1
     10revision            2
    1111categories          science
    1212maintainers         mmoll openmaintainer
    1313
     
    4646        reinplace -E {s|-arch [a-z0-9_]+||g} \
    4747            ${dir}/tools/misc/h5cc \
    4848            ${dir}/c++/src/h5c++ \
    49             ${dir}/src/libhdf5.settings
     49            ${dir}/src/libhdf5.settings \
     50            ${dir}/fortran/src/h5fc
    5051    }
    5152}
    5253
     
    6768    configure.args-append       --enable-parallel --disable-cxx
    6869}
    6970
     71
     72variant 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
     80variant 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
    7089livecheck.type      regex
    7190livecheck.url       http://www.hdfgroup.org/HDF5/release/obtain5.html
    7291livecheck.regex     5-(\[0-9.\]+)