japanese/canna-server: Fix build with llvm16

Approved by:	portmgr (blanket)
Sponsored by:	The FreeBSD Foundation
This commit is contained in:
Muhammad Moinur Rahman 2023-08-18 20:41:49 +02:00
parent e1cd01b8a0
commit c1706f3b0c

View file

@ -24,6 +24,12 @@ MAKE_JOBS_UNSAFE= yes
OPTIONS_DEFINE= DOCS
.include <bsd.port.options.mk>
.if ${OPSYS} == FreeBSD && ( ${OSVERSION} >= 1400091 || ( ${OSVERSION} >= 1302507 && ${OSVERSION} < 1400000 ))
MAKE_ARGS+= CCOPTIONS="-Wno-error=int-conversion"
.endif
post-install:
@cd ${INSTALL_WRKSRC} && ${SETENV} ${MAKE_ENV} ${MAKE} ${MAKE_FLAGS} \
${MAKEFILE} ${MAKE_ARGS} install.man