Gentoo Archives: gentoo-commits

From: Mikhail Pukhlikov <cynede@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/proj/rust:master commit in: eclass/
Date: Mon, 23 Dec 2019 06:54:18
Message-Id: 1577084046.d6542fb4b30dba00148048bdee40482f0492c3b7.cynede@gentoo
1 commit: d6542fb4b30dba00148048bdee40482f0492c3b7
2 Author: Daniel Barry <dbarry <AT> stevens <DOT> edu>
3 AuthorDate: Sat Dec 21 05:13:42 2019 +0000
4 Commit: Mikhail Pukhlikov <cynede <AT> gentoo <DOT> org>
5 CommitDate: Mon Dec 23 06:54:06 2019 +0000
6 URL: https://gitweb.gentoo.org/repo/proj/rust.git/commit/?id=d6542fb4
7
8 cargo.eclass: add args to cargo_src_install()
9
10 media-sound/spotifyd and media-sound/spotify-tui were tested with
11 the cargo eclass in the main package repo, they currently fail
12 to install as they try to pass arguments into cargo_src_install()
13 Closes: https://github.com/gentoo/gentoo-rust/pull/472
14
15 Signed-off-by: Mikhail Pukhlikov <cynede <AT> gentoo.org>
16
17 eclass/cargo.eclass | 2 +-
18 1 file changed, 1 insertion(+), 1 deletion(-)
19
20 diff --git a/eclass/cargo.eclass b/eclass/cargo.eclass
21 index b6c6dde..b1f2071 100644
22 --- a/eclass/cargo.eclass
23 +++ b/eclass/cargo.eclass
24 @@ -153,7 +153,7 @@ cargo_src_compile() {
25 cargo_src_install() {
26 debug-print-function ${FUNCNAME} "$@"
27
28 - cargo install -j $(makeopts_jobs) --root="${D}/usr" $(usex debug --debug "") \
29 + cargo install -j $(makeopts_jobs) --root="${D}/usr" $(usex debug --debug "") "$@" \
30 || die "cargo install failed"
31 rm -f "${D}/usr/.crates.toml"