pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/lang/rust rust: Fix cargo module build



details:   https://anonhg.NetBSD.org/pkgsrc/rev/d0c5cca7cadf
branches:  trunk
changeset: 453569:d0c5cca7cadf
user:      ryoon <ryoon%pkgsrc.org@localhost>
date:      Mon May 31 14:33:02 2021 +0000

description:
rust: Fix cargo module build

diffstat:

 lang/rust/cargo.mk |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (18 lines):

diff -r 9afc0bf6d882 -r d0c5cca7cadf lang/rust/cargo.mk
--- a/lang/rust/cargo.mk        Mon May 31 14:26:12 2021 +0000
+++ b/lang/rust/cargo.mk        Mon May 31 14:33:02 2021 +0000
@@ -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
 # from crates.io. This lets existing pkgsrc infrastructure fetch and verify
@@ -51,7 +51,7 @@
        ${RUN}${MKDIR} ${CARGO_VENDOR_DIR}
 .for crate in ${CARGO_CRATE_DEPENDS}
        ${RUN}${PRINTF} '{"package":"%s","files":{}}'   \
-         `$(${DIGEST} sha256 < ${_DISTDIR}/${crate}.crate` \
+         `${DIGEST} sha256 < ${_DISTDIR}/${crate}.crate` \
          > ${CARGO_VENDOR_DIR}/${crate}/.cargo-checksum.json
 .endfor
 



Home | Main Index | Thread Index | Old Index