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 PLIST error when llvm does not h...
details: https://anonhg.NetBSD.org/pkgsrc/rev/185556fd56dd
branches: trunk
changeset: 383132:185556fd56dd
user: tnn <tnn%pkgsrc.org@localhost>
date: Fri Aug 12 19:03:39 2022 +0000
description:
clang: fix PLIST error when llvm does not have llvm-target-riscv enabled
diffstat:
lang/clang/Makefile | 7 ++++++-
lang/clang/PLIST | 4 ++--
2 files changed, 8 insertions(+), 3 deletions(-)
diffs (37 lines):
diff -r 635493ca1786 -r 185556fd56dd lang/clang/Makefile
--- a/lang/clang/Makefile Fri Aug 12 16:15:04 2022 +0000
+++ b/lang/clang/Makefile Fri Aug 12 19:03:39 2022 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.71 2022/08/12 08:45:44 pin Exp $
+# $NetBSD: Makefile,v 1.72 2022/08/12 19:03:39 tnn Exp $
.include "Makefile.common"
@@ -6,4 +6,9 @@
USE_TOOLS+= perl:run
+PLIST_VARS+= RISCV
+.if !empty(PKG_BUILD_OPTIONS.llvm:Mllvm-target-riscv)
+PLIST.RISCV= yes
+.endif
+
.include "../../mk/bsd.pkg.mk"
diff -r 635493ca1786 -r 185556fd56dd lang/clang/PLIST
--- a/lang/clang/PLIST Fri Aug 12 16:15:04 2022 +0000
+++ b/lang/clang/PLIST Fri Aug 12 19:03:39 2022 +0000
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.34 2022/08/12 08:45:44 pin Exp $
+@comment $NetBSD: PLIST,v 1.35 2022/08/12 19:03:39 tnn Exp $
bin/analyze-build
bin/c-index-test
bin/clang
@@ -827,7 +827,7 @@
lib/clang/${PKGVERSION}/include/prfchwintrin.h
lib/clang/${PKGVERSION}/include/ptwriteintrin.h
lib/clang/${PKGVERSION}/include/rdseedintrin.h
-lib/clang/${PKGVERSION}/include/riscv_vector.h
+${PLIST.RISCV}lib/clang/${PKGVERSION}/include/riscv_vector.h
lib/clang/${PKGVERSION}/include/rtmintrin.h
lib/clang/${PKGVERSION}/include/s390intrin.h
lib/clang/${PKGVERSION}/include/serializeintrin.h
Home |
Main Index |
Thread Index |
Old Index