[146331] trunk/dports/science/cdo/Portfile
takeshi at macports.org
takeshi at macports.org
Sat Mar 5 05:56:49 PST 2016
Revision: 146331
https://trac.macports.org/changeset/146331
Author: takeshi at macports.org
Date: 2016-03-05 05:56:49 -0800 (Sat, 05 Mar 2016)
Log Message:
-----------
cdo: disable OpenMP support to avoid problems with apple-gcc-4.2 on Snow Leopard to address #50812
Modified Paths:
--------------
trunk/dports/science/cdo/Portfile
Modified: trunk/dports/science/cdo/Portfile
===================================================================
--- trunk/dports/science/cdo/Portfile 2016-03-05 12:55:02 UTC (rev 146330)
+++ trunk/dports/science/cdo/Portfile 2016-03-05 13:56:49 UTC (rev 146331)
@@ -6,7 +6,7 @@
name cdo
version 1.7.0
-revision 1
+revision 2
platforms darwin
maintainers takeshi openmaintainer
license GPL-2
@@ -43,6 +43,7 @@
configure.args --with-netcdf=${prefix} \
--disable-dependency-tracking \
+ --disable-openmp \
--with-proj=${prefix} \
--with-hdf5=${prefix} \
--with-udunits2=${prefix} \
@@ -63,6 +64,11 @@
}
}
+if {[gcc_variant_isset]} {
+ configure.args-delete --disable-openmp
+ configure.args-append --enable-openmp
+}
+
if {[variant_isset magicspp]} {
default_variants +grib_api
}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20160305/95802a28/attachment.html>
More information about the macports-changes
mailing list