Source-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/lang/rust rust: No rust on NetBSD<8



details:   https://anonhg.NetBSD.org/pkgsrc/rev/b0e7b28f1cd2
branches:  trunk
changeset: 432248:b0e7b28f1cd2
user:      nia <nia%pkgsrc.org@localhost>
date:      Tue May 19 22:29:05 2020 +0000

description:
rust: No rust on NetBSD<8

diffstat:

 lang/rust/platform.mk |  5 ++++-
 1 files changed, 4 insertions(+), 1 deletions(-)

diffs (18 lines):

diff -r 05ff77a2df47 -r b0e7b28f1cd2 lang/rust/platform.mk
--- a/lang/rust/platform.mk     Tue May 19 22:23:16 2020 +0000
+++ b/lang/rust/platform.mk     Tue May 19 22:29:05 2020 +0000
@@ -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