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:   nia
Date:           Tue May 19 22:29:06 UTC 2020

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

Log Message:
rust: No rust on NetBSD<8


To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.3 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.2 pkgsrc/lang/rust/platform.mk:1.3
--- pkgsrc/lang/rust/platform.mk:1.2    Sun Nov  3 19:04:07 2019
+++ pkgsrc/lang/rust/platform.mk        Tue May 19 22:29:05 2020
@@ -1,10 +1,13 @@
-# $NetBSD: platform.mk,v 1.2 2019/11/03 19:04:07 rillig Exp $
+# $NetBSD: platform.mk,v 1.3 2020/05/19 22:29:05 nia Exp $
 
 .if !defined(PLATFORM_SUPPORTS_RUST)
 
+# Rust needs NetBSD>7
 .  for _rust_arch in aarch64 armv7 i386 powerpc sparc64 x86_64
 .    for _rust_os in Darwin FreeBSD Linux NetBSD SunOS
+.      if ${OPSYS} != "NetBSD" || empty(OS_VERSION:M[0-7].*)
 RUST_PLATFORMS+=       ${_rust_os}-*-${_rust_arch}
+.      endif
 .    endfor
 .  endfor
 



Home | Main Index | Thread Index | Old Index