rust: Fix cargo module build
This commit is contained in:
parent
a5ab641603
commit
90e55d1aa6
1 changed files with 2 additions and 2 deletions
|
@ -1,4 +1,4 @@
|
||||||
# $NetBSD: cargo.mk,v 1.25 2021/05/31 10:17:53 he Exp $
|
# $NetBSD: cargo.mk,v 1.26 2021/05/31 14:33:02 ryoon Exp $
|
||||||
#
|
#
|
||||||
# Common logic that can be used by packages that depend on cargo crates
|
# Common logic that can be used by packages that depend on cargo crates
|
||||||
# from crates.io. This lets existing pkgsrc infrastructure fetch and verify
|
# from crates.io. This lets existing pkgsrc infrastructure fetch and verify
|
||||||
|
@ -51,7 +51,7 @@ cargo-vendor-crates:
|
||||||
${RUN}${MKDIR} ${CARGO_VENDOR_DIR}
|
${RUN}${MKDIR} ${CARGO_VENDOR_DIR}
|
||||||
.for crate in ${CARGO_CRATE_DEPENDS}
|
.for crate in ${CARGO_CRATE_DEPENDS}
|
||||||
${RUN}${PRINTF} '{"package":"%s","files":{}}' \
|
${RUN}${PRINTF} '{"package":"%s","files":{}}' \
|
||||||
`$(${DIGEST} sha256 < ${_DISTDIR}/${crate}.crate` \
|
`${DIGEST} sha256 < ${_DISTDIR}/${crate}.crate` \
|
||||||
> ${CARGO_VENDOR_DIR}/${crate}/.cargo-checksum.json
|
> ${CARGO_VENDOR_DIR}/${crate}/.cargo-checksum.json
|
||||||
.endfor
|
.endfor
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue