aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJan Beich <jbeich@FreeBSD.org>2022-01-04 00:36:20 +0000
committerJan Beich <jbeich@FreeBSD.org>2022-01-04 00:42:28 +0000
commit7c22badc1bb70c20ad5805c6eccd246e4f40e99d (patch)
tree67838742f7a0a56229ea9f0283b77f455f3e409f
parent29aaa7861d1815dbe63efab95a3c926897e52f72 (diff)
downloadports-7c22badc1bb70c20ad5805c6eccd246e4f40e99d.tar.gz
ports-7c22badc1bb70c20ad5805c6eccd246e4f40e99d.zip
devel/opencl-clang: simplify _DEPENDS after 1347956c0cc6
-rw-r--r--devel/opencl-clang/Makefile4
1 files 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/}