aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMuhammad Moinur Rahman <bofh@FreeBSD.org>2023-06-10 15:48:29 +0000
committerMuhammad Moinur Rahman <bofh@FreeBSD.org>2023-06-10 17:14:07 +0000
commitea12db8c2adc0ea0ee60d302b2ca67a8a79146bd (patch)
tree11cdd5a95369d9f1a564ce7992749c54baa3714b
parentca6b3bd6d2c4cb4cc5c31f1ccfa4adce51cf51b8 (diff)
databases/clickhouse: Fix build with llvm15
Approved by: portmgr (blanket)
-rw-r--r--databases/clickhouse/Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/databases/clickhouse/Makefile b/databases/clickhouse/Makefile
index d158ecd99780..a7d79208d42e 100644
--- a/databases/clickhouse/Makefile
+++ b/databases/clickhouse/Makefile
@@ -232,10 +232,11 @@ TEST_CMAKE_BOOL= ENABLE_TESTS
.if ${OSVERSION} < 1400000
CC= clang13
CXX= clang++13
-BUILD_DEPENDS+= clang++13:devel/llvm13
+USES+= llvm:max=13,build
.else
CC= clang
CXX= clang++
+CFLAGS+= -Wno-error=int-conversion
.endif
.if ${OPSYS} == FreeBSD