From 5e9a789ce5f1cce57d3cd485fad26a630a327fcb Mon Sep 17 00:00:00 2001 From: Tobias Kortkamp Date: Thu, 23 Jan 2020 09:08:34 +0000 Subject: [PATCH] Mk/Uses/cargo.mk: Unbreak install with rust-nightly Remove yet another install metadata file. This should all be replaced with --no-track once it is part of lang/rust. https://github.com/rust-lang/cargo/pull/7560 ===> Checking for items in STAGEDIR missing from pkg-plist Error: Orphaned: .crates2.json --- Mk/Uses/cargo.mk | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Mk/Uses/cargo.mk b/Mk/Uses/cargo.mk index fa19d348f8f8..40532d3cbac6 100644 --- a/Mk/Uses/cargo.mk +++ b/Mk/Uses/cargo.mk @@ -283,7 +283,9 @@ do-install: --root "${STAGEDIR}${PREFIX}" \ --verbose \ ${CARGO_INSTALL_ARGS} +# Replace with --no-track once it is part of lang/rust @${RM} -- "${STAGEDIR}${PREFIX}/.crates.toml" + @${RM} -- "${STAGEDIR}${PREFIX}/.crates2.json" . endfor .endif