git: 29aaa7861d18 - main - devel/spirv-llvm-translator: simplify _DEPENDS after 64b690e9fe35

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

URL: https://cgit.FreeBSD.org/ports/commit/?id=29aaa7861d1815dbe63efab95a3c926897e52f72

commit 29aaa7861d1815dbe63efab95a3c926897e52f72
Author:     Jan Beich <jbeich@FreeBSD.org>
AuthorDate: 2022-01-04 00:36:39 +0000
Commit:     Jan Beich <jbeich@FreeBSD.org>
CommitDate: 2022-01-04 00:42:06 +0000

    devel/spirv-llvm-translator: simplify _DEPENDS after 64b690e9fe35
---
 devel/spirv-llvm-translator/Makefile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/devel/spirv-llvm-translator/Makefile b/devel/spirv-llvm-translator/Makefile
index a2bf2f47011d..e5f16b6a173f 100644
--- a/devel/spirv-llvm-translator/Makefile
+++ b/devel/spirv-llvm-translator/Makefile
@@ -13,7 +13,7 @@ COMMENT=	Bi-directional translation between SPIR-V and LLVM IR
 LICENSE=	NCSA
 LICENSE_FILE=	${WRKSRC}/LICENSE.TXT
 
-LIB_DEPENDS=	libLLVM-${DISTVERSION:R:R}.so:devel/${FLAVOR}
+LIB_DEPENDS=	libLLVM-${FLAVOR:S/llvm//}.so:devel/${FLAVOR}
 
 FLAVORS=	${13 12 11:L:S/^/llvm/}