git: 08a052375a24 - main - graphics/mesa-devel: convert to USES=llvm

From: Jan Beich <jbeich_at_FreeBSD.org>
Date: Sat, 24 Dec 2022 16:37:17 UTC
The branch main has been updated by jbeich:

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

commit 08a052375a24d64bd549cf1572e8b69da2bbce3e
Author:     Jan Beich <jbeich@FreeBSD.org>
AuthorDate: 2022-12-24 16:12:03 +0000
Commit:     Jan Beich <jbeich@FreeBSD.org>
CommitDate: 2022-12-24 16:35:29 +0000

    graphics/mesa-devel: convert to USES=llvm
---
 graphics/mesa-devel/Makefile | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/graphics/mesa-devel/Makefile b/graphics/mesa-devel/Makefile
index 5e9137c8a97c..830f66aaac6b 100644
--- a/graphics/mesa-devel/Makefile
+++ b/graphics/mesa-devel/Makefile
@@ -95,8 +95,8 @@ LIBUNWIND_LIB_DEPENDS=	libunwind.so:devel/libunwind
 LIBUNWIND_MESON_ENABLED=	libunwind
 
 LLVM_DESC=		Build with LLVM support (see implies)
-LLVM_LIB_DEPENDS=	libLLVM-${LLVM_DEFAULT:C/^([6-9])0/\1/:S/-devel/16git/}.so:devel/llvm${LLVM_DEFAULT}
-LLVM_CONFIGURE_ENV=	LLVM_CONFIG=llvm-config${LLVM_DEFAULT}
+LLVM_USES=		llvm:min=11,lib
+LLVM_CONFIGURE_ENV=	LLVM_CONFIG=${LLVM_CONFIG}
 LLVM_MESON_ENABLED=	llvm
 .for i in r600 radeonsi radv
 ${i}_IMPLIES+=		LLVM