1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-18 00:10:04 +00:00
freebsd-ports/security/linux-rl9-p11-kit/Makefile
Dima Panov 7da7fa2d51
security/linux-rl9-p11-kit: fix ARCH handling (+)
Obliviously I forgot to include corresponding .mk before use ARCH macro

Reported by:	dvl

Sponsored by:	Future Crew, LLC
2024-11-13 03:50:44 +03:00

34 lines
877 B
Makefile

PORTNAME= p11-kit
PORTVERSION= 0.25.3
DISTVERSIONSUFFIX= -2.el9
PORTREVISION= 1
CATEGORIES= security linux
MAINTAINER= emulation@FreeBSD.org
COMMENT= Library for loading and enumerating of PKCS\#11 modules (Rocky Linux ${LINUX_DIST_VER})
WWW= https://p11-glue.freedesktop.org/p11-kit.html
USES= linux:rl9
USE_LDCONFIG= yes
USE_LINUX= libtasn1
USE_LINUX_RPM= yes
WANT_LINUX32= yes
LIB_DISTNAMES= ${DISTNAME} \
p11-kit-trust-${DISTVERSION}${DISTVERSIONSUFFIX}
DESCR= ${PORTSDIR}/${PKGCATEGORY}/${PORTNAME}/pkg-descr
OPTIONS_DEFINE= DOCS NLS
OPTIONS_SUB= yes
.include <bsd.port.options.mk>
post-install:
${RLN} ${STAGEDIR}${PREFIX}/usr/lib64/pkcs11/p11-kit-trust.so ${STAGEDIR}${PREFIX}/usr/lib64/libnssckbi.so
.if ${ARCH} == amd64
${RLN} ${STAGEDIR}${PREFIX}/usr/lib/pkcs11/p11-kit-trust.so ${STAGEDIR}${PREFIX}/usr/lib/libnssckbi.so
.endif
.include <bsd.port.mk>