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

mcalhoun at macports.org mcalhoun at macports.org
Sat Apr 16 10:10:14 PDT 2016


Revision: 147818
          https://trac.macports.org/changeset/147818
Author:   mcalhoun at macports.org
Date:     2016-04-16 10:10:14 -0700 (Sat, 16 Apr 2016)
Log Message:
-----------
hdf5-18: avoid conflict with hdf5 if fortran variants is set by renaming h5fc

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

Modified: trunk/dports/science/hdf5-18/Portfile
===================================================================
--- trunk/dports/science/hdf5-18/Portfile	2016-04-16 17:07:05 UTC (rev 147817)
+++ trunk/dports/science/hdf5-18/Portfile	2016-04-16 17:10:14 UTC (rev 147818)
@@ -9,7 +9,7 @@
 set realname        hdf5
 name                hdf5-18
 version             1.8.16
-revision            2
+revision            3
 categories          science
 maintainers         takeshi mmoll openmaintainer
 
@@ -90,6 +90,9 @@
       ${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 {[variant_isset fortran]} {
+        file rename ${destroot}${prefix}/bin/h5fc ${destroot}${prefix}/bin/h5fc-18
+    }
 }
 
 pre-activate {
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20160416/49013d46/attachment.html>


More information about the macports-changes mailing list