Received: by mail.netbsd.org (Postfix, from userid 605) id D4CD584DE1; Tue, 27 Nov 2018 14:02:13 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by mail.netbsd.org (Postfix) with ESMTP id C586984DCC for ; Tue, 27 Nov 2018 14:02:12 +0000 (UTC) X-Virus-Scanned: amavisd-new at netbsd.org Received: from mail.netbsd.org ([IPv6:::1]) by localhost (mail.netbsd.org [IPv6:::1]) (amavisd-new, port 10025) with ESMTP id vnFhpJdt-tNg for ; Tue, 27 Nov 2018 14:02:12 +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 E30BF84C81 for ; Tue, 27 Nov 2018 14:02:11 +0000 (UTC) Received: by cvs.NetBSD.org (Postfix, from userid 500) id D5DC7FB1F; Tue, 27 Nov 2018 14:02:11 +0000 (UTC) Content-Transfer-Encoding: 7bit Content-Type: multipart/mixed; boundary="_----------=_154332733143860" MIME-Version: 1.0 Date: Tue, 27 Nov 2018 14:02:11 +0000 From: "Maya Rashish" Subject: CVS commit: pkgsrc/lang/rust To: pkgsrc-changes@NetBSD.org Reply-To: maya@netbsd.org X-Mailer: log_accum Message-Id: <20181127140211.D5DC7FB1F@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. --_----------=_154332733143860 Content-Disposition: inline Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset="US-ASCII" Module Name: pkgsrc Committed By: maya Date: Tue Nov 27 14:02:11 UTC 2018 Modified Files: pkgsrc/lang/rust: cargo.mk Log Message: Replace, not append to WRKSRC/.cargo/config. This may cause problems if there's already one. Needed by rust librsvg. Tested all cargo.mk users in pkgsrc. To generate a diff of this commit: cvs rdiff -u -r1.4 -r1.5 pkgsrc/lang/rust/cargo.mk Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. --_----------=_154332733143860 Content-Disposition: inline Content-Length: 1139 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.4 pkgsrc/lang/rust/cargo.mk:1.5 --- pkgsrc/lang/rust/cargo.mk:1.4 Tue Oct 23 16:39:29 2018 +++ pkgsrc/lang/rust/cargo.mk Tue Nov 27 14:02:11 2018 @@ -1,4 +1,4 @@ -# $NetBSD: cargo.mk,v 1.4 2018/10/23 16:39:29 minskim Exp $ +# $NetBSD: cargo.mk,v 1.5 2018/11/27 14:02:11 maya 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 @@ -37,7 +37,7 @@ post-extract: cargo-vendor-crates cargo-vendor-crates: @${STEP_MSG} "Extracting local cargo crates" ${RUN}${MKDIR} ${WRKSRC}/.cargo - ${RUN}${PRINTF} "[source.crates-io]\nreplace-with = \"vendored-sources\"\n[source.vendored-sources]\ndirectory = \"${CARGO_VENDOR_DIR}\"\n" >> ${WRKSRC}/.cargo/config + ${RUN}${PRINTF} "[source.crates-io]\nreplace-with = \"vendored-sources\"\n[source.vendored-sources]\ndirectory = \"${CARGO_VENDOR_DIR}\"\n" > ${WRKSRC}/.cargo/config ${RUN}${MKDIR} ${CARGO_VENDOR_DIR} .for _crate in ${CARGO_CRATE_DEPENDS} ${RUN}${PRINTF} '{"package":"%s","files":{}}' \ --_----------=_154332733143860--