Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/lang/rust rust: correct sense of test. pointed out by gdt
details: https://anonhg.NetBSD.org/pkgsrc/rev/e25b5299478e
branches: trunk
changeset: 434357:e25b5299478e
user: nia <nia%pkgsrc.org@localhost>
date: Sun Jun 14 19:40:52 2020 +0000
description:
rust: correct sense of test. pointed out by gdt
diffstat:
lang/rust/rust.mk | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (27 lines):
diff -r 62f72f255e22 -r e25b5299478e lang/rust/rust.mk
--- a/lang/rust/rust.mk Sun Jun 14 19:35:38 2020 +0000
+++ b/lang/rust/rust.mk Sun Jun 14 19:40:52 2020 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: rust.mk,v 1.3 2020/06/14 15:43:22 nia Exp $
+# $NetBSD: rust.mk,v 1.4 2020/06/14 19:40:52 nia Exp $
#
# This file determines the type of rust package to use.
#
@@ -43,7 +43,7 @@
.endif
.if ${RUST_TYPE} == "bin"
-. if ${RUST_RUNTIME} != "no"
+. if ${RUST_RUNTIME} == "no"
BUILDLINK_DEPMETHOD.rust-bin?= build
. endif
BUILDLINK_API_DEPENDS.rust-bin+= rust-bin>=${RUST_REQ}
@@ -51,7 +51,7 @@
.endif
.if ${RUST_TYPE} == "src"
-. if ${RUST_RUNTIME} != "no"
+. if ${RUST_RUNTIME} == "no"
BUILDLINK_DEPMETHOD.rust?= build
. endif
BUILDLINK_API_DEPENDS.rust+= rust>=${RUST_REQ}
Home |
Main Index |
Thread Index |
Old Index