svn commit: r498366 - head/security/botan2
Jan Beich
jbeich at FreeBSD.org
Mon Apr 8 11:51:25 UTC 2019
Author: jbeich
Date: Mon Apr 8 11:51:23 2019
New Revision: 498366
URL: https://svnweb.freebsd.org/changeset/ports/498366
Log:
security/botan2: reduce SOVERSION churn
ABI isn't compatible between minor updates, so SONAME changes very
frequently which requires rebuilding consumers.
PR: 237019
Submitted by: Ralf van der Enden (maintainer)
Modified:
head/security/botan2/Makefile (contents, props changed)
head/security/botan2/pkg-plist (contents, props changed)
Modified: head/security/botan2/Makefile
==============================================================================
--- head/security/botan2/Makefile Mon Apr 8 11:51:15 2019 (r498365)
+++ head/security/botan2/Makefile Mon Apr 8 11:51:23 2019 (r498366)
@@ -29,6 +29,9 @@ CONFIGURE_ARGS= --with-external-includedir=${PREFIX}/i
--cc=${COMPILER_TYPE}
LDFLAGS+= -pthread
+SHLIBVER= ${DISTVERSION:S/./ /g:[2]}
+PLIST_SUB= SHLIBVER=${SHLIBVER}
+
DOCSDIR= ${PREFIX}/share/doc/${PORTNAME}-${PORTVERSION}
PORTDOCS= *
@@ -59,6 +62,6 @@ post-patch:
${WRKSRC}/src/build-data/cc/clang.txt
post-install:
- ${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/botan ${STAGEDIR}${PREFIX}/lib/libbotan-2.so.9.9.0
+ ${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/botan ${STAGEDIR}${PREFIX}/lib/libbotan-2.so.${SHLIBVER}.${SHLIBVER}.0
.include <bsd.port.mk>
Modified: head/security/botan2/pkg-plist
==============================================================================
--- head/security/botan2/pkg-plist Mon Apr 8 11:51:15 2019 (r498365)
+++ head/security/botan2/pkg-plist Mon Apr 8 11:51:23 2019 (r498366)
@@ -308,7 +308,7 @@ include/botan-2/botan/xts.h
include/botan-2/botan/zlib.h
lib/libbotan-2.a
lib/libbotan-2.so
-lib/libbotan-2.so.9
-lib/libbotan-2.so.9.9.0
+lib/libbotan-2.so.%%SHLIBVER%%
+lib/libbotan-2.so.%%SHLIBVER%%.%%SHLIBVER%%.0
%%PYTHON_SITELIBDIR%%/botan2.py
libdata/pkgconfig/botan-2.pc
More information about the svn-ports-all
mailing list