git: 7c22badc1bb7 - main - devel/opencl-clang: simplify _DEPENDS after 1347956c0cc6

From: Jan Beich <jbeich_at_FreeBSD.org>
Date: Tue, 04 Jan 2022 00:43:08 UTC
The branch main has been updated by jbeich:

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

commit 7c22badc1bb70c20ad5805c6eccd246e4f40e99d
Author:     Jan Beich <jbeich@FreeBSD.org>
AuthorDate: 2022-01-04 00:36:20 +0000
Commit:     Jan Beich <jbeich@FreeBSD.org>
CommitDate: 2022-01-04 00:42:28 +0000

    devel/opencl-clang: simplify _DEPENDS after 1347956c0cc6
---
 devel/opencl-clang/Makefile | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/devel/opencl-clang/Makefile b/devel/opencl-clang/Makefile
index eb9af13b9e5f..6ff052e95bb1 100644
--- a/devel/opencl-clang/Makefile
+++ b/devel/opencl-clang/Makefile
@@ -13,8 +13,8 @@ COMMENT=	Clang wrapper to compile OpenCL C kernels to SPIR-V modules
 LICENSE=	NCSA
 LICENSE_FILE=	${WRKSRC}/LICENSE
 
-LIB_DEPENDS=	libLLVM-${DISTVERSION:R:R}.so:devel/${FLAVOR} \
-		libLLVMSPIRVLib.so.${DISTVERSION:R:R}:devel/spirv-llvm-translator@${FLAVOR}
+LIB_DEPENDS=	libLLVM-${FLAVOR:S/llvm//}.so:devel/${FLAVOR} \
+		libLLVMSPIRVLib.so.${FLAVOR:S/llvm//}:devel/spirv-llvm-translator@${FLAVOR}
 
 FLAVORS=	${13 12 11:L:S/^/llvm/}