Revision: 148314 https://trac.macports.org/changeset/148314 Author: takeshi@macports.org Date: 2016-05-03 13:32:33 -0700 (Tue, 03 May 2016) Log Message: ----------- netcdf: avoid redefinition of symbols with +openmpi, closing #51089 Modified Paths: -------------- trunk/dports/science/netcdf/Portfile Modified: trunk/dports/science/netcdf/Portfile =================================================================== --- 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.
participants (1)
-
takeshi@macports.org