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
This commit is contained in:
parent
93284e2c88
commit
ff8627bd64
2 changed files with 7 additions and 4 deletions
|
@ -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>
|
||||
|
|
|
@ -1,2 +1,3 @@
|
|||
SHA256 (abseil-abseil-cpp-20210324.1_GH0.tar.gz) = 441db7c09a0565376ecacf0085b2d4c2bbedde6115d7773551bc116212c2a8d6
|
||||
SIZE (abseil-abseil-cpp-20210324.1_GH0.tar.gz) = 1774134
|
||||
TIMESTAMP = 1622559169
|
||||
SHA256 (abseil-abseil-cpp-20210324.2_GH0.tar.gz) = 59b862f50e710277f8ede96f083a5bb8d7c9595376146838b9580be90374ee1f
|
||||
SIZE (abseil-abseil-cpp-20210324.2_GH0.tar.gz) = 1774172
|
||||
|
|
Loading…
Reference in a new issue