git: 69477a24c228 - main - www/c-icap: Fix build with llvm15
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sat, 03 Jun 2023 18:07:05 UTC
The branch main has been updated by bofh: URL: https://cgit.FreeBSD.org/ports/commit/?id=69477a24c2281ebe0b3d85eafd815ac757dc3f72 commit 69477a24c2281ebe0b3d85eafd815ac757dc3f72 Author: Muhammad Moinur Rahman <bofh@FreeBSD.org> AuthorDate: 2023-06-03 18:02:51 +0000 Commit: Muhammad Moinur Rahman <bofh@FreeBSD.org> CommitDate: 2023-06-03 18:03:24 +0000 www/c-icap: Fix build with llvm15 Approved by: portmgr (blanket) --- www/c-icap/Makefile | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/www/c-icap/Makefile b/www/c-icap/Makefile index bb1744740f19..c1d2881aeb5e 100644 --- a/www/c-icap/Makefile +++ b/www/c-icap/Makefile @@ -66,6 +66,12 @@ BDB_LDFLAGS= -L${BDB_LIB_DIR} BDB_CONFIGURE_ON= --with-bdb=yes BDB_CONFIGURE_OFF= --with-bdb=no +.include <bsd.port.pre.mk> + +.if ${OPSYS} == FreeBSD && ( ${OSVERSION} >= 1400079 || ( ${OSVERSION} >= 1302505 && ${OSVERSION} < 1400000 )) +CFLAGS+= -Wno-error=int-conversion +.endif + post-patch: @${REINPLACE_CMD} \ -e 's|@prefix@/var/log|/var/log/c-icap|g' \ @@ -83,4 +89,4 @@ post-patch-POSIXSEM-on: post-install: @${MKDIR} ${STAGEDIR}/${LOG_DIR} ${STAGEDIR}/${RUN_DIR} -.include <bsd.port.mk> +.include <bsd.port.post.mk>