diff options
-rw-r--r-- | lang/rust/cargo.mk | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lang/rust/cargo.mk b/lang/rust/cargo.mk index e31885dac81..3a8ebbac98b 100644 --- a/lang/rust/cargo.mk +++ b/lang/rust/cargo.mk @@ -1,4 +1,4 @@ -# $NetBSD: cargo.mk,v 1.14 2020/06/08 17:13:39 he Exp $ +# $NetBSD: cargo.mk,v 1.15 2020/06/08 22:37:28 he Exp $ # # Common logic that can be used by packages that depend on cargo crates # from crates.io. This lets existing pkgsrc infrastructure fetch and verify @@ -64,6 +64,6 @@ cargo-vendor-crates: show-cargo-depends: ${RUN}${AWK} '/^name = / { split($$3, a, "\""); name=a[2]; } \ /^version = / { split($$3, a, "\""); vers=a[2]; } \ - /^checksum = / { \ + /^source = / { \ print "CARGO_CRATE_DEPENDS+=\t" name "-" vers; \ }' ${WRKSRC}/Cargo.lock |