commit:     d6542fb4b30dba00148048bdee40482f0492c3b7
Author:     Daniel Barry <dbarry <AT> stevens <DOT> edu>
AuthorDate: Sat Dec 21 05:13:42 2019 +0000
Commit:     Mikhail Pukhlikov <cynede <AT> gentoo <DOT> org>
CommitDate: Mon Dec 23 06:54:06 2019 +0000
URL:        https://gitweb.gentoo.org/repo/proj/rust.git/commit/?id=d6542fb4

cargo.eclass: add args to cargo_src_install()

media-sound/spotifyd and media-sound/spotify-tui were tested with
the cargo eclass in the main package repo, they currently fail
to install as they try to pass arguments into cargo_src_install()
Closes: https://github.com/gentoo/gentoo-rust/pull/472

Signed-off-by: Mikhail Pukhlikov <cynede <AT> gentoo.org>

 eclass/cargo.eclass | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/eclass/cargo.eclass b/eclass/cargo.eclass
index b6c6dde..b1f2071 100644
--- a/eclass/cargo.eclass
+++ b/eclass/cargo.eclass
@@ -153,7 +153,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" $(usex debug 
--debug "") "$@" \
                || die "cargo install failed"
        rm -f "${D}/usr/.crates.toml"
 

Reply via email to