summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJan Beich <jbeich@FreeBSD.org>2017-01-21 23:12:18 +0000
committerJan Beich <jbeich@FreeBSD.org>2017-01-21 23:12:18 +0000
commit85d1057a4837d4e2453ab03b114e352fef4eca0c (patch)
tree6e22d7221cd33627b153bb47523389f5e924f077
parentFix graphics/py-poppler-qt4: fails to build with clang 4.0 (diff)
science/openbabel: unbreak with GCC >= 6
GCC defaults to C++14 since 6.0 which no longer converts istream to bool by default. Instead of fixing just downgrade to C++98. PR: 216036
-rw-r--r--science/openbabel/Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/science/openbabel/Makefile b/science/openbabel/Makefile
index d3948120f196..919525103de3 100644
--- a/science/openbabel/Makefile
+++ b/science/openbabel/Makefile
@@ -16,6 +16,7 @@ BUILD_DEPENDS= ${LOCALBASE}/include/eigen3/Eigen/Eigen:math/eigen3
CONFLICTS_INSTALL= babel-*
+USE_CXXSTD= gnu++98
USE_GNOME= libxml2
USES= cmake:outsource
CMAKE_ARGS= -DBUILD_GUI=off