Files
ports/devel/abseil/Makefile
T
Alexey Dokuchaev 39dbb2a182 devel/abseil: update Abseil C++ to LTS version 20250127.0
As of this release, ABSL_PROPAGATE_CXX_STD is enabled by default
so work-arounds like the one in the `devel/libphonenumber' port
are no longer necessary.

This will be the last release to support C++14.  Future releases
will require at least C++17.  Note that the port already demands
it as of commit 17ed41b53f.

PR:	284861
2025-02-23 04:39:54 +00:00

24 lines
758 B
Makefile

PORTNAME= abseil
PORTVERSION= 20250127.0
CATEGORIES= devel
MASTER_SITES= https://github.com/abseil/abseil-cpp/releases/download/${PORTVERSION}/
DISTNAME= ${PORTNAME}-cpp-${PORTVERSION}
MAINTAINER= danfe@FreeBSD.org
COMMENT= Abseil Common Libraries (C++)
WWW= https://abseil.io/
LICENSE= APACHE20
LICENSE_FILE= ${WRKSRC}/LICENSE
USES= cmake compiler:c++17-lang pathfix
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
PATHFIX_CMAKELISTSTXT= AbseilHelpers.cmake
_GET_SOVER= ${GREP} ABSL_SOVERSION ${WRKSRC}/CMakeLists.txt \
2>/dev/null | ${CUT} -d\" -f2
PLIST_SUB+= LIBSUFX=${_GET_SOVER:sh}
.include <bsd.port.mk>