git: ea12db8c2adc - main - databases/clickhouse: Fix build with llvm15

From: Muhammad Moinur Rahman <bofh_at_FreeBSD.org>
Date: Sat, 10 Jun 2023 17:14:21 UTC
The branch main has been updated by bofh:

URL: https://cgit.FreeBSD.org/ports/commit/?id=ea12db8c2adc0ea0ee60d302b2ca67a8a79146bd

commit ea12db8c2adc0ea0ee60d302b2ca67a8a79146bd
Author:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
AuthorDate: 2023-06-10 15:48:29 +0000
Commit:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
CommitDate: 2023-06-10 17:14:07 +0000

    databases/clickhouse: Fix build with llvm15
    
    Approved by:    portmgr (blanket)
---
 databases/clickhouse/Makefile | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

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