pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/lang/clang clang: fix more PLIST errors under non-defa...
details: https://anonhg.NetBSD.org/pkgsrc/rev/19cb999fe443
branches: trunk
changeset: 383170:19cb999fe443
user: tnn <tnn%pkgsrc.org@localhost>
date: Sat Aug 13 22:39:28 2022 +0000
description:
clang: fix more PLIST errors under non-default PKG_OPTIONs
diffstat:
lang/clang/Makefile | 8 +++++++-
lang/clang/PLIST | 14 +++++++-------
2 files changed, 14 insertions(+), 8 deletions(-)
diffs (49 lines):
diff -r 40312c970ad2 -r 19cb999fe443 lang/clang/Makefile
--- a/lang/clang/Makefile Sat Aug 13 15:19:15 2022 +0000
+++ b/lang/clang/Makefile Sat Aug 13 22:39:28 2022 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.73 2022/08/13 09:58:03 tnn Exp $
+# $NetBSD: Makefile,v 1.74 2022/08/13 22:39:28 tnn Exp $
.include "Makefile.common"
@@ -11,4 +11,10 @@
PLIST.RISCV= yes
.endif
+PLIST_VARS+= ARM
+.if ${PKG_BUILD_OPTIONS.llvm:Mllvm-target-arm} || \
+ ${PKG_BUILD_OPTIONS.llvm:Mllvm-target-aarch64}
+PLIST.ARM= yes
+.endif
+
.include "../../mk/bsd.pkg.mk"
diff -r 40312c970ad2 -r 19cb999fe443 lang/clang/PLIST
--- a/lang/clang/PLIST Sat Aug 13 15:19:15 2022 +0000
+++ b/lang/clang/PLIST Sat Aug 13 22:39:28 2022 +0000
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.35 2022/08/12 19:03:39 tnn Exp $
+@comment $NetBSD: PLIST,v 1.36 2022/08/13 22:39:28 tnn Exp $
bin/analyze-build
bin/c-index-test
bin/clang
@@ -718,13 +718,13 @@
lib/clang/${PKGVERSION}/include/amxintrin.h
lib/clang/${PKGVERSION}/include/arm64intr.h
lib/clang/${PKGVERSION}/include/arm_acle.h
-lib/clang/${PKGVERSION}/include/arm_bf16.h
-lib/clang/${PKGVERSION}/include/arm_cde.h
+${PLIST.ARM}lib/clang/${PKGVERSION}/include/arm_bf16.h
+${PLIST.ARM}lib/clang/${PKGVERSION}/include/arm_cde.h
lib/clang/${PKGVERSION}/include/arm_cmse.h
-lib/clang/${PKGVERSION}/include/arm_fp16.h
-lib/clang/${PKGVERSION}/include/arm_mve.h
-lib/clang/${PKGVERSION}/include/arm_neon.h
-lib/clang/${PKGVERSION}/include/arm_sve.h
+${PLIST.ARM}lib/clang/${PKGVERSION}/include/arm_fp16.h
+${PLIST.ARM}lib/clang/${PKGVERSION}/include/arm_mve.h
+${PLIST.ARM}lib/clang/${PKGVERSION}/include/arm_neon.h
+${PLIST.ARM}lib/clang/${PKGVERSION}/include/arm_sve.h
lib/clang/${PKGVERSION}/include/armintr.h
lib/clang/${PKGVERSION}/include/avx2intrin.h
lib/clang/${PKGVERSION}/include/avx512bf16intrin.h
Home |
Main Index |
Thread Index |
Old Index