diff options
author | nia <nia@pkgsrc.org> | 2020-06-14 19:40:52 +0000 |
---|---|---|
committer | nia <nia@pkgsrc.org> | 2020-06-14 19:40:52 +0000 |
commit | 3eedab61593c502fdf3507298b68dd0c879aca14 (patch) | |
tree | dda2e93a89bfc5b493037649d2e24f8e14fc7688 /lang | |
parent | cb62f551312675fc395321801a001e52d9214d48 (diff) | |
download | pkgsrc-3eedab61593c502fdf3507298b68dd0c879aca14.tar.gz |
rust: correct sense of test. pointed out by gdt
Diffstat (limited to 'lang')
-rw-r--r-- | lang/rust/rust.mk | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lang/rust/rust.mk b/lang/rust/rust.mk index 61aba3c8f34..08ea686e80b 100644 --- a/lang/rust/rust.mk +++ b/lang/rust/rust.mk @@ -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-bin>=${RUST_REQ} .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} |