summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--parallel/opencl-clang/Makefile8
1 files changed, 4 insertions, 4 deletions
diff --git a/parallel/opencl-clang/Makefile b/parallel/opencl-clang/Makefile
index 9c9c321e221..2381cbc899d 100644
--- a/parallel/opencl-clang/Makefile
+++ b/parallel/opencl-clang/Makefile
@@ -1,8 +1,9 @@
-# $NetBSD: Makefile,v 1.8 2022/08/17 15:34:36 tnn Exp $
+# $NetBSD: Makefile,v 1.9 2022/08/17 16:21:25 tnn Exp $
DISTNAME= opencl-clang-14.0.0
CATEGORIES= parallel
MASTER_SITES= ${MASTER_SITE_GITHUB:=intel/}
+GITHUB_PROJECT= opencl-clang # do not remove this, it breaks cwrappers
GITHUB_TAG= v${PKGVERSION_NOREV}
MAINTAINER= pkgsrc-users@NetBSD.org
@@ -16,9 +17,8 @@ USE_LANGUAGES= c c++
# C++14
GCC_REQD+= 7 # sync with llvm/clang
-.for os in Darwin SunOS
-BUILDLINK_TRANSFORM.${os}+= rm:-Wl,--version-script=${WRKDIR}/${DISTNAME}/common_clang.map
-.endfor
+BUILDLINK_TRANSFORM.Darwin+= rm:-Wl,--version-script=${WRKSRC}/common_clang.map
+BUILDLINK_TRANSFORM.SunOS+= rm:-Wl,--version-script=${WRKSRC}/common_clang.map
.include "../../parallel/spirv-llvm-translator/buildlink3.mk"
.include "../../lang/clang/buildlink3.mk"