git: 5fa214fd3214 - main - security/rnp: do not install lib/libsexp.a
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Wed, 03 May 2023 21:22:49 UTC
The branch main has been updated by se:
URL: https://cgit.FreeBSD.org/ports/commit/?id=5fa214fd3214b326a5a9f72155109d6d2b0bd869
commit 5fa214fd3214b326a5a9f72155109d6d2b0bd869
Author: Stefan Eßer <se@FreeBSD.org>
AuthorDate: 2023-05-03 21:14:50 +0000
Commit: Stefan Eßer <se@FreeBSD.org>
CommitDate: 2023-05-03 21:22:41 +0000
security/rnp: do not install lib/libsexp.a
The static library libsexp.a conflicts with the library of the same
name installed by the devel/sfsexp port. It is only used to build the
rnp and rnpkeys binaries, but not needed for any other port.
---
security/rnp/Makefile | 4 ++++
security/rnp/pkg-plist | 1 -
2 files changed, 4 insertions(+), 1 deletion(-)
diff --git a/security/rnp/Makefile b/security/rnp/Makefile
index 337798be88c2..6f081514701b 100644
--- a/security/rnp/Makefile
+++ b/security/rnp/Makefile
@@ -1,6 +1,7 @@
PORTNAME= rnp
DISTVERSIONPREFIX= v
DISTVERSION= 0.17.0
+PORTREVISION= 1
CATEGORIES= security
MAINTAINER= se@FreeBSD.org
@@ -35,4 +36,7 @@ pre-configure:
${REINPLACE_CMD} 's/%%DISTVERSION%%/${DISTVERSION}/' \
${WRKSRC}/cmake/version.cmake
+post-install:
+ ${RM} ${STAGEDIR}${PREFIX}/lib/libsexp.a
+
.include <bsd.port.mk>
diff --git a/security/rnp/pkg-plist b/security/rnp/pkg-plist
index 3ef581e7e94f..4f7d6a4c476d 100644
--- a/security/rnp/pkg-plist
+++ b/security/rnp/pkg-plist
@@ -11,7 +11,6 @@ lib/librnp.a
lib/librnp.so
lib/librnp.so.0
lib/librnp.so.%%VERS%%
-lib/libsexp.a
libdata/pkgconfig/librnp.pc
share/man/man1/rnp.1.gz
share/man/man1/rnpkeys.1.gz