git: e36ae668d0d9 - main - security/opencryptoki: Unbreak on HEAD
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sat, 29 Apr 2023 22:52:06 UTC
The branch main has been updated by bofh: URL: https://cgit.FreeBSD.org/ports/commit/?id=e36ae668d0d9f86c5a8499cab9cd18537cd010a8 commit e36ae668d0d9f86c5a8499cab9cd18537cd010a8 Author: Muhammad Moinur Rahman <bofh@FreeBSD.org> AuthorDate: 2023-04-29 17:49:49 +0000 Commit: Muhammad Moinur Rahman <bofh@FreeBSD.org> CommitDate: 2023-04-29 22:51:58 +0000 security/opencryptoki: Unbreak on HEAD Approved by: portmgr (blanket) --- security/opencryptoki/Makefile | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/security/opencryptoki/Makefile b/security/opencryptoki/Makefile index 7ae3cc6d4bb1..d2b72801240d 100644 --- a/security/opencryptoki/Makefile +++ b/security/opencryptoki/Makefile @@ -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>