summaryrefslogtreecommitdiff
path: root/Mk/Uses/cargo.mk
diff options
context:
space:
mode:
authorTobias Kortkamp <tobik@FreeBSD.org>2020-01-23 09:08:34 +0000
committerTobias Kortkamp <tobik@FreeBSD.org>2020-01-23 09:08:34 +0000
commit5e9a789ce5f1cce57d3cd485fad26a630a327fcb (patch)
tree8979a1921d0fc7974481c0d795504378d543e7bc /Mk/Uses/cargo.mk
parentUnbreak make makepatch. (diff)
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
Notes
Notes: svn path=/head/; revision=523913
Diffstat (limited to 'Mk/Uses/cargo.mk')
-rw-r--r--Mk/Uses/cargo.mk2
1 files changed, 2 insertions, 0 deletions
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