Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 3 Jun 2023 18:07:05 GMT
From:      Muhammad Moinur Rahman <bofh@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: 69477a24c228 - main - www/c-icap: Fix build with llvm15
Message-ID:  <202306031807.353I758H018975@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202306031807.353I758H018975>