git: 9c81803e2741 - main - devel/shiboken2: convert to USES=llvm

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

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

commit 9c81803e27412c65ff563299fe7c84116caaa4e3
Author:     Tobias C. Berner <tcberner@FreeBSD.org>
AuthorDate: 2022-12-18 00:07:53 +0000
Commit:     Tobias C. Berner <tcberner@FreeBSD.org>
CommitDate: 2022-12-18 00:15:01 +0000

    devel/shiboken2: convert to USES=llvm
---
 devel/shiboken2/Makefile | 7 +++----
 1 file changed, 3 insertions(+), 4 deletions(-)

diff --git a/devel/shiboken2/Makefile b/devel/shiboken2/Makefile
index caf55e5f4309..e9ec5893ae25 100644
--- a/devel/shiboken2/Makefile
+++ b/devel/shiboken2/Makefile
@@ -17,10 +17,9 @@ BROKEN_riscv64=		fails to compile: __threading_support:135:3: Unsupported archit
 
 BUILD_DEPENDS=	${PYTHON_PKGNAMEPREFIX}setuptools_scm>0:devel/py-setuptools_scm@${PY_FLAVOR} \
 		git>0:devel/git
-LIB_DEPENDS=	libclang.so.${LLVM_DEFAULT:C/^([6-9])0/\1/}:devel/llvm${LLVM_DEFAULT} \
-		libxslt.so:textproc/libxslt
+LIB_DEPENDS=	libxslt.so:textproc/libxslt
 
-USES=		cmake compiler:c++11-lang gnome python:3.5-3.9 qt:5 shebangfix tar:xz
+USES=		cmake compiler:c++11-lang gnome llvm:lib python:3.5-3.9 qt:5 shebangfix tar:xz
 USE_GNOME=	libxml2
 USE_LDCONFIG=	yes
 USE_PYTHON=	flavors
@@ -33,7 +32,7 @@ CMAKE_ARGS+=	"-DCMAKE_CXX_FLAGS=-lexecinfo" \
 		"-DCMAKE_STANDARD_LIBRARIES=-lexecinfo" \
 		"-DCMAKE_CXX_STANDARD_LIBRARIES=-lexecinfo" \
 		"-DUSE_PYTHON_VERSION=${PYTHON_VER}" \
-		"-DLLVM_CONFIG=${LOCALBASE}/bin/llvm-config${LLVM_DEFAULT}"
+		"-DLLVM_CONFIG=${LLVM_CONFIG}"
 
 .include <bsd.port.pre.mk>