aboutsummaryrefslogtreecommitdiffstats
path: root/science/openbabel
diff options
context:
space:
mode:
authorjbeich <jbeich@FreeBSD.org>2017-01-22 07:12:18 +0800
committerjbeich <jbeich@FreeBSD.org>2017-01-22 07:12:18 +0800
commit21859345543612af4ad23e629d2bc1a1520a3cb7 (patch)
tree6e22d7221cd33627b153bb47523389f5e924f077 /science/openbabel
parente121ff4940541c0a193a3abc03ae4e80745a6c19 (diff)
downloadfreebsd-ports-gnome-21859345543612af4ad23e629d2bc1a1520a3cb7.tar.gz
freebsd-ports-gnome-21859345543612af4ad23e629d2bc1a1520a3cb7.tar.zst
freebsd-ports-gnome-21859345543612af4ad23e629d2bc1a1520a3cb7.zip
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
Diffstat (limited to 'science/openbabel')
-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