aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorgentoo90 <gentoo90@gmail.com>2020-07-18 23:55:55 +0300
committerMikhail Pukhlikov <cynede@gentoo.org>2020-08-03 10:27:35 +0400
commited2692fa1b6711cd80460fe823c3c9dd7ceceee1 (patch)
treefbf428c0dc5a375052de9faac91cf25debf660ba
parentdev-util/cargo-generate: add ebuild for version 0.5.0 (diff)
downloadrust-ed2692fa1b6711cd80460fe823c3c9dd7ceceee1.tar.gz
rust-ed2692fa1b6711cd80460fe823c3c9dd7ceceee1.tar.bz2
rust-ed2692fa1b6711cd80460fe823c3c9dd7ceceee1.zip
cargo eclass: fix install
cargo install now requires --path parameter Closes: https://github.com/gentoo/gentoo-rust/pull/493 Signed-off-by: Mikhail Pukhlikov <cynede@gentoo.org>
-rw-r--r--eclass/cargo.eclass2
1 files changed, 1 insertions, 1 deletions
diff --git a/eclass/cargo.eclass b/eclass/cargo.eclass
index 5207d2a..a4808ae 100644
--- a/eclass/cargo.eclass
+++ b/eclass/cargo.eclass
@@ -150,7 +150,7 @@ cargo_src_compile() {
cargo_src_install() {
debug-print-function ${FUNCNAME} "$@"
- cargo install -j $(makeopts_jobs) --root="${D}/usr" $(usex debug --debug "") "$@" \
+ cargo install -j $(makeopts_jobs) --root="${D}/usr" --path . $(usex debug --debug "") "$@" \
|| die "cargo install failed"
rm -f "${D}/usr/.crates.toml"