diff options
author | he <he@pkgsrc.org> | 2020-06-08 22:37:28 +0000 |
---|---|---|
committer | he <he@pkgsrc.org> | 2020-06-08 22:37:28 +0000 |
commit | 71d9ccd0e3b2dd950b4379724af3025fd2c44663 (patch) | |
tree | 0958813a7a4a6f146fc61f7a67051afdcaf554ce /lang/rust | |
parent | cf89a246512e95c8203c7101d93ff6a2280c03ab (diff) | |
download | pkgsrc-71d9ccd0e3b2dd950b4379724af3025fd2c44663.tar.gz |
It looks like "checksum" is optional, and "source" isn't for
"external" packages, so use the latter.
Diffstat (limited to 'lang/rust')
-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 |