Modified: trunk/dports/science/hdf5-18/Portfile (148954 => 148955)
--- trunk/dports/science/hdf5-18/Portfile 2016-05-23 17:58:16 UTC (rev 148954)
+++ trunk/dports/science/hdf5-18/Portfile 2016-05-23 18:04:08 UTC (rev 148955)
@@ -92,12 +92,15 @@
file rename ${destroot}${prefix}/share/hdf5_examples ${destroot}${prefix}/share/${name}
if {[mpi_variant_isset]} {
file rename ${destroot}${prefix}/bin/h5pcc ${destroot}${prefix}/bin/h5pcc-18
+ if {[variant_isset fortran]} {
+ file rename ${destroot}${prefix}/bin/h5pfc ${destroot}${prefix}/bin/h5pfc-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
+ }
}
- if {[variant_isset fortran]} {
- file rename ${destroot}${prefix}/bin/h5fc ${destroot}${prefix}/bin/h5fc-18
- }
}
pre-activate {