From ed2692fa1b6711cd80460fe823c3c9dd7ceceee1 Mon Sep 17 00:00:00 2001 From: gentoo90 Date: Sat, 18 Jul 2020 23:55:55 +0300 Subject: cargo eclass: fix install cargo install now requires --path parameter Closes: https://github.com/gentoo/gentoo-rust/pull/493 Signed-off-by: Mikhail Pukhlikov --- eclass/cargo.eclass | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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" -- cgit v1.2.3-65-gdbad