pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/lang/rust



Module Name:    pkgsrc
Committed By:   he
Date:           Mon Apr 18 14:59:59 UTC 2022

Modified Files:
        pkgsrc/lang/rust: options.mk

Log Message:
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


To generate a diff of this commit:
cvs rdiff -u -r1.20 -r1.21 pkgsrc/lang/rust/options.mk

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/lang/rust/options.mk
diff -u pkgsrc/lang/rust/options.mk:1.20 pkgsrc/lang/rust/options.mk:1.21
--- pkgsrc/lang/rust/options.mk:1.20    Fri Apr 15 14:00:37 2022
+++ pkgsrc/lang/rust/options.mk Mon Apr 18 14:59:59 2022
@@ -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-llvm
 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