1 |
commit: ed2692fa1b6711cd80460fe823c3c9dd7ceceee1 |
2 |
Author: gentoo90 <gentoo90 <AT> gmail <DOT> com> |
3 |
AuthorDate: Sat Jul 18 20:55:55 2020 +0000 |
4 |
Commit: Mikhail Pukhlikov <cynede <AT> gentoo <DOT> org> |
5 |
CommitDate: Mon Aug 3 06:27:35 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/proj/rust.git/commit/?id=ed2692fa |
7 |
|
8 |
cargo eclass: fix install |
9 |
|
10 |
cargo install now requires --path parameter |
11 |
Closes: https://github.com/gentoo/gentoo-rust/pull/493 |
12 |
|
13 |
Signed-off-by: Mikhail Pukhlikov <cynede <AT> gentoo.org> |
14 |
|
15 |
eclass/cargo.eclass | 2 +- |
16 |
1 file changed, 1 insertion(+), 1 deletion(-) |
17 |
|
18 |
diff --git a/eclass/cargo.eclass b/eclass/cargo.eclass |
19 |
index 5207d2a..a4808ae 100644 |
20 |
--- a/eclass/cargo.eclass |
21 |
+++ b/eclass/cargo.eclass |
22 |
@@ -150,7 +150,7 @@ cargo_src_compile() { |
23 |
cargo_src_install() { |
24 |
debug-print-function ${FUNCNAME} "$@" |
25 |
|
26 |
- cargo install -j $(makeopts_jobs) --root="${D}/usr" $(usex debug --debug "") "$@" \ |
27 |
+ cargo install -j $(makeopts_jobs) --root="${D}/usr" --path . $(usex debug --debug "") "$@" \ |
28 |
|| die "cargo install failed" |
29 |
rm -f "${D}/usr/.crates.toml" |