Changeset 124736


Ignore:
Timestamp:
Aug 27, 2014, 8:33:01 PM (6 years ago)
Author:
takeshi@…
Message:

hdfeos, hdfeos5: corrected the use of active_variants as in its doc in the source

Location:
trunk/dports/science
Files:
2 edited

Legend:

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

    r124716 r124736  
    4040}
    4141
    42 pre-configure {
    43     if {[active_variants port:hdf4 szip]} {
     42if {![catch {set result [active_variants port:hdf4 szip]}]} {
     43    if {$result} {
    4444        default_variants-append +szip
    4545    }
  • trunk/dports/science/hdfeos5/Portfile

    r124716 r124736  
    4545    set h5cc h5cc
    4646}
    47 pre-configure {
    48     if {[active_variants port:hdf5 szip]} {
     47if {![catch {set result [active_variants port:hdf5 szip]}]} {
     48    if {$result} {
    4949        default_variants-append +szip
    5050    }
Note: See TracChangeset for help on using the changeset viewer.