aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Barry <dbarry@stevens.edu>2019-12-21 00:13:42 -0500
committerMikhail Pukhlikov <cynede@gentoo.org>2019-12-23 10:54:06 +0400
commitd6542fb4b30dba00148048bdee40482f0492c3b7 (patch)
treed0f625da01c04c5224e55545badcd53a70378660
parentUpdate Rust to 1.40 (diff)
downloadrust-d6542fb4b30dba00148048bdee40482f0492c3b7.tar.gz
rust-d6542fb4b30dba00148048bdee40482f0492c3b7.tar.bz2
rust-d6542fb4b30dba00148048bdee40482f0492c3b7.zip
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@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 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"