Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/lang/rust rust: if variables are supposed to be overri...
details: https://anonhg.NetBSD.org/pkgsrc/rev/73eb323baac9
branches: trunk
changeset: 432089:73eb323baac9
user: wiz <wiz%pkgsrc.org@localhost>
date: Mon May 18 16:33:44 2020 +0000
description:
rust: if variables are supposed to be overridable, set them with ?=
diffstat:
lang/rust/type.mk | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (21 lines):
diff -r b000489c47fd -r 73eb323baac9 lang/rust/type.mk
--- a/lang/rust/type.mk Mon May 18 16:22:25 2020 +0000
+++ b/lang/rust/type.mk Mon May 18 16:33:44 2020 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: type.mk,v 1.1 2020/05/18 16:17:20 nia Exp $
+# $NetBSD: type.mk,v 1.2 2020/05/18 16:33:44 wiz Exp $
#
# This file determines the type of rust package to use -
# binary (as via rustup) or a source bootstrap.
@@ -20,9 +20,9 @@
# The Rust bootstrapping process is often particularly slow
# and unreliable on NetBSD due to ld.so bugs
. if !empty(MACHINE_PLATFORM:MNetBSD-*-x86_64)
-RUST_TYPE= bin
+RUST_TYPE?= bin
. else
-RUST_TYPE= src
+RUST_TYPE?= src
. endif
.endif # !defined(RUST_TYPE)
Home |
Main Index |
Thread Index |
Old Index