1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-19 00:13:33 +00:00

databases/clickhouse: Fix build with llvm16

Approved by:	portmgr (blanket)
Sponsored by:	The FreeBSD Foundation
This commit is contained in:
Muhammad Moinur Rahman 2023-08-08 10:07:58 +02:00
parent d5d26803d6
commit 6956bca47e

View File

@ -229,14 +229,11 @@ TEST_CMAKE_BOOL= ENABLE_TESTS
.include <bsd.port.options.mk>
.if ${OSVERSION} < 1400000
CC= clang13
CXX= clang++13
USES+= llvm:max=13,build
.else
CC= clang
CXX= clang++
CFLAGS+= -Wno-error=int-conversion
.if ${OPSYS} == FreeBSD && ( ${OSVERSION} >= 1400091 || ( ${OSVERSION} >= 1302505 && ${OSVERSION} < 1400000 ))
USES+= llvm:max=15
CC= clang${LLVM_VERSION}
CXX= clang++${LLVM_VERSION}
CFLAGS+=-Wno-error=int-conversion
.endif
.if ${OPSYS} == FreeBSD