[148314] trunk/dports/science/netcdf/Portfile

takeshi at macports.org takeshi at macports.org
Tue May 3 13:32:33 PDT 2016


Revision: 148314
          https://trac.macports.org/changeset/148314
Author:   takeshi at 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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20160503/8e10de10/attachment.html>


More information about the macports-changes mailing list