Changeset 97518


Ignore:
Timestamp:
Sep 7, 2012, 9:21:29 PM (8 years ago)
Author:
takeshi@…
Message:

cdo: added mpi variant to enable build when hdf5-18 is installed with +openmpi or +mpich2, closing #36017

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/dports/science/cdo/Portfile

    r96017 r97518  
    66name                        cdo
    77version                     1.5.5
    8 revision                    1
     8revision                    2
    99platforms                   darwin
    1010maintainers                 takeshi
     
    3434                            --with-zlib=${prefix}
    3535
     36# Test if hdf5-18 is installed with +openmpi or +mpich2
     37if {[file exists ${prefix}/bin/h5pcc]} {
     38    default_variants +mpi
     39}
     40
    3641post-destroot {
    3742    xinstall -m 755 -d ${destroot}${prefix}/share/doc/${name}/doc
     
    4954}
    5055
     56variant mpi description {compile with h5pcc} {
     57    configure.cc            ${prefix}/bin/h5pcc
     58}
     59
    5160livecheck.type              regex
    5261livecheck.url               ${homepage}
Note: See TracChangeset for help on using the changeset viewer.