1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-12 03:00:28 +00:00

security/opencryptoki: Unbreak on HEAD

Approved by:	portmgr (blanket)
This commit is contained in:
Muhammad Moinur Rahman 2023-04-29 19:49:49 +02:00
parent 9c3c097a50
commit e36ae668d0

View File

@ -43,6 +43,12 @@ PLIST_SUB= USERS="${USERS}" GROUPS="${GROUPS}"
USERS= _pkcs11
GROUPS= _pkcs11
.include <bsd.port.pre.mk>
.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1400079
CFLAGS+= -Wno-error=int-conversion
.endif
post-patch:
cd ${WRKSRC} && \
${REINPLACE_CMD} 's,%%DLLDIR%%,${PREFIX}/lib/opencryptoki/stdll,' \
@ -56,4 +62,4 @@ post-install:
${RMDIR} ${STAGEDIR}/var/run/opencryptoki/* \
${STAGEDIR}/var/run/opencryptoki
.include <bsd.port.mk>
.include <bsd.port.post.mk>