Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 29 Dec 2020 22:25:03 +0000 (UTC)
From:      Yuri Victorovich <yuri@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r559622 - head/devel/abseil
Message-ID:  <202012292225.0BTMP3dg064173@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: yuri
Date: Tue Dec 29 22:25:03 2020
New Revision: 559622
URL: https://svnweb.freebsd.org/changeset/ports/559622

Log:
  devel/abseil: Change to C++17 to allow all dependent ports to build
  
  PR:		250376
  Approved by:	danfe (maintainer's timeout)

Modified:
  head/devel/abseil/Makefile

Modified: head/devel/abseil/Makefile
==============================================================================
--- head/devel/abseil/Makefile	Tue Dec 29 22:24:24 2020	(r559621)
+++ head/devel/abseil/Makefile	Tue Dec 29 22:25:03 2020	(r559622)
@@ -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>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202012292225.0BTMP3dg064173>