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 + +.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 +.include