From 7c22badc1bb70c20ad5805c6eccd246e4f40e99d Mon Sep 17 00:00:00 2001 From: Jan Beich Date: Tue, 4 Jan 2022 00:36:20 +0000 Subject: [PATCH] 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/}