aboutsummaryrefslogtreecommitdiff
path: root/devel/abseil/Makefile
diff options
context:
space:
mode:
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>