diff options
author | Michael Osipov <michaelo@FreeBSD.org> | 2025-06-21 00:15:37 +0200 |
---|---|---|
committer | Michael Osipov <michaelo@FreeBSD.org> | 2025-06-24 07:27:38 +0200 |
commit | 36493604b0cfd4725bb2ae3bce391720310c4815 (patch) | |
tree | d74f7342ade88da5d149cebb437ca4d6eae5a0c6 | |
parent | lang/ghc*: Completely stop depending on LLVM (diff) |
security/libp11: Fails to build on 13.5-RELEASE
PR: 287671
Approved by: jrm (mentor), ale (maintainer)
Differential Revision: https://reviews.freebsd.org/D50960
-rw-r--r-- | security/libp11/Makefile | 10 | ||||
-rw-r--r-- | security/libp11/pkg-plist | 4 |
2 files changed, 12 insertions, 2 deletions
diff --git a/security/libp11/Makefile b/security/libp11/Makefile index 7575e9c2ed49..2521f1fa7db8 100644 --- a/security/libp11/Makefile +++ b/security/libp11/Makefile @@ -1,5 +1,6 @@ PORTNAME= libp11 PORTVERSION= 0.4.14 +PORTREVIION= 1 DISTVERSIONPREFIX= ${PORTNAME}- CATEGORIES= security devel @@ -39,6 +40,15 @@ CONFIGURE_ARGS= --with-enginesdir=${PREFIX}/lib/engines \ --with-modulesdir=${PREFIX}/lib/ossl-modules \ --enable-static-engine +.include <bsd.port.options.mk> + +.if ${SSL_DEFAULT} == "base" && ${OPSYS} == FreeBSD && ${OSREL:R} < 14 +PLIST_SUB+= PROVIDERS="@comment " +.else +PLIST_SUB+= PROVIDERS="" +.endif + + INSTALL_TARGET= install-strip PORTDOCS= * diff --git a/security/libp11/pkg-plist b/security/libp11/pkg-plist index 79526fa0f30a..b0d6012014a0 100644 --- a/security/libp11/pkg-plist +++ b/security/libp11/pkg-plist @@ -2,8 +2,8 @@ include/libp11.h include/p11_err.h lib/engines/libpkcs11.so lib/engines/pkcs11.so -lib/ossl-modules/libpkcs11.so -lib/ossl-modules/pkcs11prov.so +%%PROVIDERS%%lib/ossl-modules/libpkcs11.so +%%PROVIDERS%%lib/ossl-modules/pkcs11prov.so lib/libp11.a lib/libp11.so lib/libp11.so.3 |