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:   tnn
Date:           Thu Aug  1 15:24:39 UTC 2024

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

Log Message:
rust: relax pattern for old rust requirement on earmv7hf to NetBSD < 10

The failure mode on -9 is that the bootstrap bin/cargo instantly panics.
-10 works fine. Tested on Allwinner A20.


To generate a diff of this commit:
cvs rdiff -u -r1.26 -r1.27 pkgsrc/lang/rust/platform.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/platform.mk
diff -u pkgsrc/lang/rust/platform.mk:1.26 pkgsrc/lang/rust/platform.mk:1.27
--- pkgsrc/lang/rust/platform.mk:1.26   Wed Jul 31 12:21:23 2024
+++ pkgsrc/lang/rust/platform.mk        Thu Aug  1 15:24:39 2024
@@ -1,4 +1,4 @@
-# $NetBSD: platform.mk,v 1.26 2024/07/31 12:21:23 he Exp $
+# $NetBSD: platform.mk,v 1.27 2024/08/01 15:24:39 tnn Exp $
 
 # This file encodes whether a given platform has support for rust.
 
@@ -16,7 +16,7 @@ RUST_PLATFORMS+=      ${rust_os}-*-${rust_arc
 .  endfor
 .endfor
 
-.if ${OPSYS} == "NetBSD" && (${MACHINE_ARCH} == "earmv7hf")
+.if ${MACHINE_PLATFORM:MNetBSD-*-earm*} && ${OPSYS_VERSION} < 100000
 RUST_DIR?=     ../../lang/rust176
 .endif
 RUST_DIR?=     ../../lang/rust



Home | Main Index | Thread Index | Old Index