Received: by mail.netbsd.org (Postfix, from userid 605) id A4ADF84DB9; Tue, 3 Dec 2019 02:09:07 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by mail.netbsd.org (Postfix) with ESMTP id 2CC6C84DB5 for ; Tue, 3 Dec 2019 02:09:07 +0000 (UTC) X-Virus-Scanned: amavisd-new at netbsd.org Received: from mail.netbsd.org ([127.0.0.1]) by localhost (mail.netbsd.org [127.0.0.1]) (amavisd-new, port 10025) with ESMTP id RkzSrokIIGDs for ; Tue, 3 Dec 2019 02:09:06 +0000 (UTC) Received: from cvs.NetBSD.org (ivanova.NetBSD.org [IPv6:2001:470:a085:999:28c:faff:fe03:5984]) by mail.netbsd.org (Postfix) with ESMTP id 7AD0384D80 for ; Tue, 3 Dec 2019 02:09:06 +0000 (UTC) Received: by cvs.NetBSD.org (Postfix, from userid 500) id 747C3FA97; Tue, 3 Dec 2019 02:09:06 +0000 (UTC) Content-Transfer-Encoding: 7bit Content-Type: multipart/mixed; boundary="_----------=_157533894631680" MIME-Version: 1.0 Date: Tue, 3 Dec 2019 02:09:06 +0000 From: "Min Sik Kim" Subject: CVS commit: pkgsrc/lang/rust To: pkgsrc-changes@NetBSD.org Reply-To: minskim@netbsd.org X-Mailer: log_accum Message-Id: <20191203020906.747C3FA97@cvs.NetBSD.org> Sender: pkgsrc-changes-owner@NetBSD.org List-Id: pkgsrc-changes.NetBSD.org Precedence: bulk List-Unsubscribe: This is a multi-part message in MIME format. --_----------=_157533894631680 Content-Disposition: inline Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset="US-ASCII" Module Name: pkgsrc Committed By: minskim Date: Tue Dec 3 02:09:06 UTC 2019 Modified Files: pkgsrc/lang/rust: cargo.mk Log Message: lang/rust/cargo.mk: Set default values for cargo package variables With these values, a Rust package downloads its own distfile from crates.io by default, and shares dependancy crate distfiles with other Rust packages to avoid multiple downloads. To generate a diff of this commit: cvs rdiff -u -r1.8 -r1.9 pkgsrc/lang/rust/cargo.mk Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. --_----------=_157533894631680 Content-Disposition: inline Content-Length: 776 Content-Transfer-Encoding: binary Content-Type: text/x-diff; charset=us-ascii Modified files: Index: pkgsrc/lang/rust/cargo.mk diff -u pkgsrc/lang/rust/cargo.mk:1.8 pkgsrc/lang/rust/cargo.mk:1.9 --- pkgsrc/lang/rust/cargo.mk:1.8 Sun Nov 3 19:04:07 2019 +++ pkgsrc/lang/rust/cargo.mk Tue Dec 3 02:09:06 2019 @@ -1,4 +1,4 @@ -# $NetBSD: cargo.mk,v 1.8 2019/11/03 19:04:07 rillig Exp $ +# $NetBSD: cargo.mk,v 1.9 2019/12/03 02:09:06 minskim 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 @@ -20,6 +20,9 @@ # # See also www/geckodriver for a full example. +MASTER_SITES?= -${MASTER_SITE_CRATESIO}${PKGBASE}/${PKGVERSION_NOREV}/download +DIST_SUBDIR?= crates.io + BUILD_DEPENDS+= rust-[0-9]*:../../lang/rust USE_TOOLS+= bsdtar digest --_----------=_157533894631680--