[149285] trunk/dports/science/apbs/Portfile
dstrubbe at macports.org
dstrubbe at macports.org
Thu Jun 9 10:37:47 PDT 2016
Revision: 149285
https://trac.macports.org/changeset/149285
Author: dstrubbe at macports.org
Date: 2016-06-09 10:37:46 -0700 (Thu, 09 Jun 2016)
Log Message:
-----------
apbs: Better attempt at blacklisting llvm-g++-4.2 which is selected along with clang on 10.6.
Modified Paths:
--------------
trunk/dports/science/apbs/Portfile
Modified: trunk/dports/science/apbs/Portfile
===================================================================
--- trunk/dports/science/apbs/Portfile 2016-06-09 17:37:06 UTC (rev 149284)
+++ trunk/dports/science/apbs/Portfile 2016-06-09 17:37:46 UTC (rev 149285)
@@ -2,6 +2,7 @@
# $Id$
PortSystem 1.0
+PortGroup compiler_blacklist_versions 1.0
PortGroup cmake 1.0
PortGroup mpi 1.0
PortGroup github 1.0
@@ -85,8 +86,9 @@
# Some cmake tests will fail with "error: unrecognized option '-arch'" from gcc 4.6 and earlier. Same with dragonegg based on it.
# llvm-gcc-4.2 will fail to build with: error: unrecognized command line option "-std=c++0x"
+# It comes with clang for OSX 10.6 so we need to blacklist clang to prevent it being used.
compiler.blacklist macports-gcc-4.4 macports-gcc-4.5 macports-gcc-4.6 \
- macports-dragonegg-3.3 macports-dragonegg-3.4 gcc-4.2 llvm-gcc-4.2 apple-gcc-4.2 macports-llvm-gcc-4.2
+ macports-dragonegg-3.3 macports-dragonegg-3.4 gcc-4.2 llvm-gcc-4.2 apple-gcc-4.2 macports-llvm-gcc-4.2 {clang < 425}
# g++ will just fail to link apbs_geoflow. probably about -lstdc++ stuff. So, just use Fortran.
compilers.choose fc
mpi.setup
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20160609/bc7854a7/attachment.html>
More information about the macports-changes
mailing list