aboutsummaryrefslogtreecommitdiff
path: root/devel/abseil/Makefile
diff options
context:
space:
mode:
authorAlexey Dokuchaev <danfe@FreeBSD.org>2021-06-09 04:10:32 +0000
committerAlexey Dokuchaev <danfe@FreeBSD.org>2021-06-09 04:10:45 +0000
commitff8627bd64fba25be047e80b4e64293005c53109 (patch)
treedf7b686ad6a8d60fbaacf421d532b918c59123eb /devel/abseil/Makefile
parent93284e2c88bae6736692aad5b93ac25b34e0c20e (diff)
downloadports-ff8627bd64fba25be047e80b4e64293005c53109.tar.gz
ports-ff8627bd64fba25be047e80b4e64293005c53109.zip
devel/abseil: update the port to the next LTS patch
- Update Abseil C++ libraries to version 20210324.2 - Inferring shared libraries suffix from PORTVERSION does not always work, so obtain correct value from the project's CMake files (SOVERSION) Found out via: repology.org
Diffstat (limited to 'devel/abseil/Makefile')
-rw-r--r--devel/abseil/Makefile6
1 files changed, 4 insertions, 2 deletions
diff --git a/devel/abseil/Makefile b/devel/abseil/Makefile
index 2c89a3e7766c..7d1524b1c553 100644
--- a/devel/abseil/Makefile
+++ b/devel/abseil/Makefile
@@ -1,7 +1,7 @@
# Created by: Alexey Dokuchaev <danfe@FreeBSD.org>
PORTNAME= abseil
-PORTVERSION= 20210324.1
+PORTVERSION= 20210324.2
CATEGORIES= devel
MAINTAINER= danfe@FreeBSD.org
@@ -16,6 +16,8 @@ GH_PROJECT= ${PORTNAME}-cpp
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
-PLIST_SUB+= LIBSUFX=${PORTVERSION:C/^..(....)../\1.0/}
+_GET_SOVER= ${GREP} SOVERSION ${WRKSRC}/CMake/AbseilHelpers.cmake \
+ | ${CUT} -d\" -f2
+PLIST_SUB+= LIBSUFX=${_GET_SOVER:sh}
.include <bsd.port.mk>