summaryrefslogtreecommitdiff
path: root/lang/rust
diff options
context:
space:
mode:
authorgdt <gdt@pkgsrc.org>2020-06-18 15:00:21 +0000
committergdt <gdt@pkgsrc.org>2020-06-18 15:00:21 +0000
commit71b7ac9f7477bf9871065c65421d6ced9fea4775 (patch)
tree16f2c220f3648e41173cd8446358534f6ba6b005 /lang/rust
parent82f9e532eeff0907dea220d1cb70582d4d8cff95 (diff)
downloadpkgsrc-71b7ac9f7477bf9871065c65421d6ced9fea4775.tar.gz
rust/platform.mk: Note PR about earmv7, and requirement for PR links
Following discussion on tech-net, note that disabling rust on a platform where it ought to work requires a link to an open PR. Add a link to the PR about NetBSD/earmv7hf.
Diffstat (limited to 'lang/rust')
-rw-r--r--lang/rust/platform.mk9
1 files changed, 8 insertions, 1 deletions
diff --git a/lang/rust/platform.mk b/lang/rust/platform.mk
index 0a29d974082..b31170e6d83 100644
--- a/lang/rust/platform.mk
+++ b/lang/rust/platform.mk
@@ -1,10 +1,17 @@
-# $NetBSD: platform.mk,v 1.3 2020/05/19 22:29:05 nia Exp $
+# $NetBSD: platform.mk,v 1.4 2020/06/18 15:00:21 gdt Exp $
+
+# This file encodes whether a given platform has support for rust.
+
+# Platforms where rust ought to work but does not require a link to an
+# open PR.
.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
+# rust fails to build on NetBSD/earmv7
+# http://gnats.netbsd.org/cgi-bin/query-pr-single.pl?number=54621
. if ${OPSYS} != "NetBSD" || empty(OS_VERSION:M[0-7].*)
RUST_PLATFORMS+= ${_rust_os}-*-${_rust_arch}
. endif