Changeset 147801 for trunk/dports


Ignore:
Timestamp:
Apr 16, 2016, 6:56:27 AM (4 years ago)
Author:
takeshi@…
Message:

hdfeos: depend on hdf5-18

Location:
trunk/dports/science/hdfeos5
Files:
1 deleted
1 edited

Legend:

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

    r147503 r147801  
    88name                hdfeos5
    99version             1.15
    10 revision            10
     10revision            11
    1111categories          science
    1212platforms           darwin
     
    3131compilers.choose    cc cxx
    3232mpi.setup           -clang -dragonegg -llvm
    33 mpi.enforce_variant hdf5
     33mpi.enforce_variant hdf5-18
    3434
    3535depends_build       port:libtool
    36 depends_lib         port:hdf5
     36depends_lib         port:hdf5-18
    3737worksrcdir          ${name}
    3838extract.suffix      .tar.Z
    3939fetch.use_epsv      no
    4040
    41 patchfiles          patch-src-GDapi.c.diff \
    42                     patch-src-PTapi.c.diff \
    43                     patch-src-SWapi.c.diff \
    44                     patch-src-ZAapi.c.diff
     41#patchfiles          patch-src-GDapi.c.diff \
     42#                    patch-src-PTapi.c.diff \
     43#                    patch-src-SWapi.c.diff \
     44#                    patch-src-ZAapi.c.diff
    4545
    46 mpi.enforce_variant hdf5
    4746if {[mpi_variant_isset]} {
    48     set h5cc h5pcc
     47    set h5cc h5pcc-18
    4948} else {
    50     set h5cc h5cc
     49    set h5cc h5cc-18
    5150}
    52 if {![catch {set result [active_variants port:hdf5 szip]}]} {
     51if {![catch {set result [active_variants port:hdf5-18 szip]}]} {
    5352    if {$result} {
    5453        default_variants-append +szip
     
    6059configure.args      --prefix=${prefix}/lib/${name} \
    6160                    --enable-shared \
    62                     --with-hdf5=${prefix} \
    6361                    --with-zlib=${prefix} \
    6462                    --disable-dependency-tracking
     
    7472
    7573variant szip description {enables szip support} {
    76     require_active_variants     hdf5 szip
     74    require_active_variants     hdf5-18 szip
    7775    depends_lib-append          port:szip
    7876    configure.args-append       --with-szlib=${prefix} \
Note: See TracChangeset for help on using the changeset viewer.