[147873] trunk/dports/science/hdf5-18/Portfile

takeshi at macports.org takeshi at macports.org
Tue Apr 19 13:18:18 PDT 2016


Revision: 147873
          https://trac.macports.org/changeset/147873
Author:   takeshi at macports.org
Date:     2016-04-19 13:18:18 -0700 (Tue, 19 Apr 2016)
Log Message:
-----------
hdf5-18: rename h5pcc instead of h5cc when a mpi variant is set, closing #51182

Modified Paths:
--------------
    trunk/dports/science/hdf5-18/Portfile

Modified: trunk/dports/science/hdf5-18/Portfile
===================================================================
--- trunk/dports/science/hdf5-18/Portfile	2016-04-19 19:51:56 UTC (rev 147872)
+++ trunk/dports/science/hdf5-18/Portfile	2016-04-19 20:18:18 UTC (rev 147873)
@@ -89,7 +89,11 @@
     xinstall -m 444 ${worksrcpath}/COPYING\
       ${destroot}${prefix}/share/${name}/
     file rename ${destroot}${prefix}/share/hdf5_examples ${destroot}${prefix}/share/${name}
-    file rename ${destroot}${prefix}/bin/h5cc ${destroot}${prefix}/bin/h5cc-18
+    if {[mpi_variant_isset]} {
+        file rename ${destroot}${prefix}/bin/h5pcc ${destroot}${prefix}/bin/h5pcc-18
+    } else {
+        file rename ${destroot}${prefix}/bin/h5cc ${destroot}${prefix}/bin/h5cc-18
+    }
     if {[variant_isset fortran]} {
         file rename ${destroot}${prefix}/bin/h5fc ${destroot}${prefix}/bin/h5fc-18
     }
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20160419/6765dddd/attachment.html>


More information about the macports-changes mailing list