aboutsummaryrefslogtreecommitdiff
path: root/devel
diff options
context:
space:
mode:
authorYuri Victorovich <yuri@FreeBSD.org>2020-12-29 22:25:03 +0000
committerYuri Victorovich <yuri@FreeBSD.org>2020-12-29 22:25:03 +0000
commit17ed41b53fd383727c26d120e8d774b70f486547 (patch)
tree07a131d85774632a95b2ec9fcec03304e3661856 /devel
parent208eaad339a58d116ba13be44bb46fbbfbae1d1b (diff)
downloadports-17ed41b53fd383727c26d120e8d774b70f486547.tar.gz
ports-17ed41b53fd383727c26d120e8d774b70f486547.zip
devel/abseil: Change to C++17 to allow all dependent ports to build
PR: 250376 Approved by: danfe (maintainer's timeout)
Notes
Notes: svn path=/head/; revision=559622
Diffstat (limited to 'devel')
-rw-r--r--devel/abseil/Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/devel/abseil/Makefile b/devel/abseil/Makefile
index c6591af3ac36..11fd9eee4c49 100644
--- a/devel/abseil/Makefile
+++ b/devel/abseil/Makefile
@@ -3,6 +3,7 @@
PORTNAME= abseil
PORTVERSION= 20200923.2
+PORTREVISION= 1
CATEGORIES= devel
MAINTAINER= danfe@FreeBSD.org
@@ -14,6 +15,7 @@ USES= cmake compiler:c++11-lang
USE_GITHUB= yes
GH_PROJECT= ${PORTNAME}-cpp
-CMAKE_ARGS= -DBUILD_SHARED_LIBS:BOOL=ON
+CMAKE_ARGS= -DBUILD_SHARED_LIBS:BOOL=ON \
+ -DCMAKE_CXX_STANDARD=17 # force the same highest C++ standard because of ABI differences: see https://github.com/abseil/abseil-cpp/issues/819
.include <bsd.port.mk>