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:           Sun Jun 14 19:40:52 UTC 2020

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

Log Message:
rust: correct sense of test. pointed out by gdt


To generate a diff of this commit:
cvs rdiff -u -r1.3 -r1.4 pkgsrc/lang/rust/rust.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/rust.mk
diff -u pkgsrc/lang/rust/rust.mk:1.3 pkgsrc/lang/rust/rust.mk:1.4
--- pkgsrc/lang/rust/rust.mk:1.3        Sun Jun 14 15:43:22 2020
+++ pkgsrc/lang/rust/rust.mk    Sun Jun 14 19:40:52 2020
@@ -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 @@ RUST_TYPE?=   src
 .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 @@ BUILDLINK_API_DEPENDS.rust-bin+=      rust-bi
 .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