netcdf: avoid redefinition of symbols with +openmpi, closing #51089
--- trunk/dports/science/netcdf/Portfile 2016-05-03 19:19:16 UTC (rev 148313)
+++ trunk/dports/science/netcdf/Portfile 2016-05-03 20:32:33 UTC (rev 148314)
@@ -88,6 +88,11 @@
}
}
+if {[mpi_variant_isset]} {
+ configure.cflags-append -DHDF5_PARALLEL
+ configure.args-append -DENABLE_PARALLEL_TESTS=ON
+}
+
notes "
As of version 4.2 c++ and fortran interfaces are separate ports,\
netcdf-cxx and netcdf-fortran, respectively.