pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/lang/rust rust: Drop digest from USE_TOOLS.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/0199dce2298d
branches:  trunk
changeset: 459402:0199dce2298d
user:      jperkin <jperkin%pkgsrc.org@localhost>
date:      Wed Oct 06 10:20:24 2021 +0000

description:
rust: Drop digest from USE_TOOLS.

It's already added to bootstrap tools by mk, and adding it here actually
has the opposite effect of what's intended.  It seems to confuse the
tools infrastructure and defer its dependency, i.e. until it's too late,
causing "digest: not found" errors if it's not already installed.

diffstat:

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

diffs (18 lines):

diff -r ce11deabed1a -r 0199dce2298d lang/rust/cargo.mk
--- a/lang/rust/cargo.mk        Wed Oct 06 09:07:00 2021 +0000
+++ b/lang/rust/cargo.mk        Wed Oct 06 10:20:24 2021 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: cargo.mk,v 1.27 2021/07/22 16:09:46 tnn Exp $
+# $NetBSD: cargo.mk,v 1.28 2021/10/06 10:20:24 jperkin 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
@@ -25,7 +25,7 @@
 
 .include "../../lang/rust/rust.mk"
 
-USE_TOOLS+=            bsdtar digest
+USE_TOOLS+=            bsdtar
 CARGO_VENDOR_DIR=      ${WRKDIR}/vendor
 
 DISTFILES?=                    ${DEFAULT_DISTFILES}



Home | Main Index | Thread Index | Old Index