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.
This commit is contained in:
Stefan Eßer 2023-05-03 23:14:50 +02:00
parent e4f35938f0
commit 5fa214fd32
2 changed files with 4 additions and 1 deletions

View file

@ -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>

View file

@ -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