pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/lang/rust rust: default to rust-llvm on NetBSD/sparc64.
details: https://anonhg.NetBSD.org/pkgsrc/rev/0557c6349bc9
branches: trunk
changeset: 377276:0557c6349bc9
user: he <he%pkgsrc.org@localhost>
date: Mon Apr 18 14:59:59 2022 +0000
description:
rust: default to rust-llvm on NetBSD/sparc64.
(NetBSD)/sparc64 systems fail to build libunwind 13.0.1,
and libunwind is depended on here unless rust-llvm is turned
on. The latter succeeds, though. So default to using
rust-llvm on NetBSD/sparc64.
Ref. PR#56791
diffstat:
lang/rust/options.mk | 11 ++++++++++-
1 files changed, 10 insertions(+), 1 deletions(-)
diffs (25 lines):
diff -r 1629ea89b602 -r 0557c6349bc9 lang/rust/options.mk
--- a/lang/rust/options.mk Mon Apr 18 14:50:03 2022 +0000
+++ b/lang/rust/options.mk Mon Apr 18 14:59:59 2022 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: options.mk,v 1.20 2022/04/15 14:00:37 he Exp $
+# $NetBSD: options.mk,v 1.21 2022/04/18 14:59:59 he Exp $
PKG_OPTIONS_VAR= PKG_OPTIONS.rust
PKG_SUPPORTED_OPTIONS+= rust-cargo-static rust-docs
@@ -20,6 +20,15 @@
PKG_SUGGESTED_OPTIONS+= rust-cargo-static
.endif
+# (NetBSD)/sparc64 systems fail to build libunwind 13.0.1,
+# and libunwind is depended on here unless rust-llvm is turned
+# on. The latter succeeds, though. So default to using
+# rust-llvm on NetBSD/sparc64.
+# Ref. PR#56791
+.if !empty(MACHINE_PLATFORM:MNetBSD-*-sparc64)
+PKG_SUGGESTED_OPTIONS+= rust-llvm
+.endif
+
.include "../../mk/bsd.options.mk"
#
Home |
Main Index |
Thread Index |
Old Index