git: 1c8b894093fe - main - devel/clazy: convert to USES=llvm

From: Tobias C. Berner <tcberner_at_FreeBSD.org>
Date: Sun, 18 Dec 2022 00:15:44 UTC
The branch main has been updated by tcberner:

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

commit 1c8b894093feb09f6d0cca35a267d4e6d2b091d7
Author:     Tobias C. Berner <tcberner@FreeBSD.org>
AuthorDate: 2022-12-18 00:06:31 +0000
Commit:     Tobias C. Berner <tcberner@FreeBSD.org>
CommitDate: 2022-12-18 00:15:00 +0000

    devel/clazy: convert to USES=llvm
---
 devel/clazy/Makefile | 8 ++------
 1 file changed, 2 insertions(+), 6 deletions(-)

diff --git a/devel/clazy/Makefile b/devel/clazy/Makefile
index c51f0ae4f33f..25a84131c493 100644
--- a/devel/clazy/Makefile
+++ b/devel/clazy/Makefile
@@ -14,13 +14,9 @@ WWW=		https://github.com/KDE/clazy
 LICENSE=	LGPL20
 LICENSE_FILE=	${WRKSRC}/COPYING-LGPL2.txt
 
-BUILD_DEPENDS=	llvm${LLVM_DEFAULT}>0:devel/llvm${LLVM_DEFAULT}
-RUN_DEPENDS=	llvm${LLVM_DEFAULT}>0:devel/llvm${LLVM_DEFAULT}
-
-USES=		cmake tar:xz
-
-CMAKE_ARGS=	-DLLVM_ROOT=${LOCALBASE}/llvm${LLVM_DEFAULT}
+USES=		cmake llvm:build,run tar:xz
 
+CMAKE_ARGS=	-DLLVM_ROOT=${LLVM_PREFIX}
 
 OPTIONS_DEFINE=	DOCS