[143946] trunk/dports/science/hdfeos5/Portfile

takeshi at macports.org takeshi at macports.org
Mon Dec 28 13:24:39 PST 2015


Revision: 143946
          https://trac.macports.org/changeset/143946
Author:   takeshi at macports.org
Date:     2015-12-28 13:24:38 -0800 (Mon, 28 Dec 2015)
Log Message:
-----------
hdfeos5: avoid warning by removing unusual use of mpi_active_variant_name

Modified Paths:
--------------
    trunk/dports/science/hdfeos5/Portfile

Modified: trunk/dports/science/hdfeos5/Portfile
===================================================================
--- trunk/dports/science/hdfeos5/Portfile	2015-12-28 17:03:24 UTC (rev 143945)
+++ trunk/dports/science/hdfeos5/Portfile	2015-12-28 21:24:38 UTC (rev 143946)
@@ -7,7 +7,7 @@
 
 name                hdfeos5
 version             1.15
-revision            7
+revision            8
 categories          science
 platforms           darwin
 license             public-domain
@@ -38,10 +38,9 @@
 extract.suffix      .tar.Z
 fetch.use_epsv      no
 
-set v [mpi_active_variant_name bin:h5pcc:hdf5]
-if {${v} != "" } {
+mpi.enforce_variant hdf5
+if {[mpi_variant_isset]} {
     set h5cc h5pcc
-    default_variants +${v}
 } else {
     set h5cc h5cc
 }
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20151228/d3788728/attachment.html>


More information about the macports-changes mailing list