Ticket #37422: Portfile-hdf5-18.diff

File Portfile-hdf5-18.diff, 2.9 KB (added by johnsonsr@…, 12 years ago)
  • Portfile

    old new  
    8888variant fortran description {
    8989    Enable fortran bindings. If combined with +openmpi or +mpich2, the\
    9090    respective MPI package must have been built with fortran support.
    91   Must be combined with +gcc44, +gcc45, +gcc46, +mpich2, or +openmpi
     91  Must be combined with +gcc44, +gcc45, +gcc46, +gcc47, +mpich2, or +openmpi
    9292  +fortran is EXPERIMENTAL with +threadsafe
    9393} {
    9494    configure.args-delete       --disable-fortran
     
    100100      [variant_isset openmpi ] ||
    101101      [variant_isset gcc44]    ||
    102102      [variant_isset gcc45]    ||
    103       [variant_isset gcc46]) } {
     103      [variant_isset gcc46]    ||
     104      [variant_isset gcc47]) } {
    104105    ui_error "+fortran requires +mpich2, +openmpi, or +gccNN"
    105106    return -code error
    106107}
     
    145146variant openmpi description {
    146147    Enable Parallel HDF5 with openmpi. Uses compiler selected with openmpi.
    147148  +openmpi is EXPERIMENTAL with +cxx or +threadsafe.
    148 } conflicts universal mpich2 gcc44 gcc45 gcc46 {
     149} conflicts universal mpich2 gcc44 gcc45 gcc46 gcc47 {
    149150    depends_lib-append          port:openmpi
    150151    configure.cc                ${prefix}/bin/openmpicc
    151152    configure.cxx               ${prefix}/bin/openmpicxx
     
    156157variant mpich2 description {
    157158    Enable Parallel HDF5 with mpich2. Uses compiler selected with mpich2.
    158159  +mpich2 is EXPERIMENTAL with +cxx or +threadsafe.
    159 } conflicts universal openmpi gcc44 gcc45 gcc46 {
     160} conflicts universal openmpi gcc44 gcc45 gcc46 gcc47 {
    160161    depends_lib-append          path:bin/mpicc:mpich2
    161162    configure.cc                ${prefix}/bin/mpicc
    162163    configure.cxx               ${prefix}/bin/mpicxx
     
    179180
    180181variant gcc44 description {
    181182    Build with MacPorts' gcc44 compiler.
    182 } conflicts universal gcc45 gcc46 openmpi mpich2 {
     183} conflicts universal gcc45 gcc46 gcc47 openmpi mpich2 {
    183184    depends_lib-append          port:gcc44
    184185    configure.compiler          macports-gcc-4.4
    185186}
    186187
    187188variant gcc45 description {
    188189    Build with MacPorts' gcc45 compiler.
    189 } conflicts universal gcc44 gcc46 openmpi mpich2 {
     190} conflicts universal gcc44 gcc46 gcc47 openmpi mpich2 {
    190191    depends_lib-append          port:gcc45
    191192    configure.compiler          macports-gcc-4.5
    192193}
    193194
    194195variant gcc46 description {
    195196    Build with MacPorts' gcc46 compiler.
    196 } conflicts universal gcc44 gcc45 openmpi mpich2 {
     197} conflicts universal gcc44 gcc45 gcc47 openmpi mpich2 {
    197198    depends_lib-append          port:gcc46
    198199    configure.compiler          macports-gcc-4.6
    199200}
    200201
     202variant gcc47 description {
     203    Build with MacPorts' gcc47 compiler.
     204} conflicts universal gcc44 gcc45 gcc46 openmpi mpich2 {
     205    depends_lib-append          port:gcc47
     206    configure.compiler          macports-gcc-4.7
     207}
     208
    201209
    202210livecheck.type      regex
    203211livecheck.url       http://www.hdfgroup.org/HDF5/release/obtain5.html