git: 6e616fc4f4cc - 2022Q3 - databases/clickhouse: fix build on CURRENT

From: Dave Cottlehuber <>
Date: Sat, 09 Jul 2022 20:10:31 UTC
The branch 2022Q3 has been updated by dch:


commit 6e616fc4f4cc4f48facd91097626b17b93bfb9d2
Author:     Trond Endrestol <>
AuthorDate: 2022-07-09 19:48:19 +0000
Commit:     Dave Cottlehuber <>
CommitDate: 2022-07-09 20:10:19 +0000

    databases/clickhouse: fix build on CURRENT
    perl5 is pulled in via llvm13 during build, but llvm14 does not
    have this dependency. Leave PORTREVISION alone as no rebuilds
    are required.
    PR:             261561
    Approved by: (maintainer)
    Sponsored by:   SkunkWerks, GmbH
    (cherry picked from commit 8b0eb02c2efed83a4207860142a34605621d0e42)
 databases/clickhouse/Makefile | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/databases/clickhouse/Makefile b/databases/clickhouse/Makefile
index 2e8b445b105a..0b1c0122a3e9 100644
--- a/databases/clickhouse/Makefile
+++ b/databases/clickhouse/Makefile
@@ -17,7 +17,8 @@ ONLY_FOR_ARCHS_REASON=	only supported on aarch64 and amd64
 BUILD_DEPENDS=	bash:shells/bash
 RUN_DEPENDS=	bash:shells/bash
-USES=		cmake cpe localbase python shebangfix
+USES=		cmake cpe localbase perl5 python shebangfix
+USE_PERL5=	build
 CPE_VENDOR=	yandex