japanese/canna-server: Fix build with llvm16
Approved by: portmgr (blanket) Sponsored by: The FreeBSD Foundation
This commit is contained in:
parent
e1cd01b8a0
commit
c1706f3b0c
1 changed files with 6 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue