diff options
author | 2019-12-22 21:30:33 -0600 | |
---|---|---|
committer | 2019-12-26 17:59:29 -0800 | |
commit | 43c2a717e665e94232f46379013706959207c51a (patch) | |
tree | 3d6af6c0ddb30b4965a991af9e2449d53ca2b4eb /dev-util/sccache | |
parent | dev-python/ipykernel: do not mangle the python call. (diff) | |
download | gentoo-43c2a717e665e94232f46379013706959207c51a.tar.gz gentoo-43c2a717e665e94232f46379013706959207c51a.tar.bz2 gentoo-43c2a717e665e94232f46379013706959207c51a.zip |
eclass/cargo.eclass: specify --path . to install
cargo install has long required --path . for 2018 edition crates but not
required it for 2015 edition crates. It is supported however for 2015
edition crates and works for all versions in the tree so it makes sense
to make it the default. Added CARGO_INSTALL_PATH as an eclass variable
allowing to override the default.
Closes: https://bugs.gentoo.org/703590
Signed-off-by: Doug Goldstein <cardoe@gentoo.org>
Closes: https://github.com/gentoo/gentoo/pull/14097
Tested-by: Georgy Yakovlev <gyakovlev@gentoo.org>
Signed-off-by: Georgy Yakovlev <gyakovlev@gentoo.org>
Diffstat (limited to 'dev-util/sccache')
-rw-r--r-- | dev-util/sccache/sccache-0.2.10.ebuild | 2 | ||||
-rw-r--r-- | dev-util/sccache/sccache-0.2.8-r2.ebuild | 2 | ||||
-rw-r--r-- | dev-util/sccache/sccache-0.2.9.ebuild | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/dev-util/sccache/sccache-0.2.10.ebuild b/dev-util/sccache/sccache-0.2.10.ebuild index 09322dc521cc..79d25139c158 100644 --- a/dev-util/sccache/sccache-0.2.10.ebuild +++ b/dev-util/sccache/sccache-0.2.10.ebuild @@ -331,7 +331,7 @@ src_compile(){ } src_install() { - cargo_src_install --path=. ${myfeatures:+--features "${myfeatures[*]}"} --no-default-features + cargo_src_install ${myfeatures:+--features "${myfeatures[*]}"} --no-default-features keepdir /etc/sccache diff --git a/dev-util/sccache/sccache-0.2.8-r2.ebuild b/dev-util/sccache/sccache-0.2.8-r2.ebuild index 21a6f2c2688f..3cec993ae5e8 100644 --- a/dev-util/sccache/sccache-0.2.8-r2.ebuild +++ b/dev-util/sccache/sccache-0.2.8-r2.ebuild @@ -328,7 +328,7 @@ src_compile(){ } src_install() { - cargo_src_install --path=. ${myfeatures:+--features "${myfeatures[*]}"} --no-default-features + cargo_src_install ${myfeatures:+--features "${myfeatures[*]}"} --no-default-features keepdir /etc/sccache diff --git a/dev-util/sccache/sccache-0.2.9.ebuild b/dev-util/sccache/sccache-0.2.9.ebuild index d1941557a46d..9995856c3628 100644 --- a/dev-util/sccache/sccache-0.2.9.ebuild +++ b/dev-util/sccache/sccache-0.2.9.ebuild @@ -331,7 +331,7 @@ src_compile(){ } src_install() { - cargo_src_install --path=. ${myfeatures:+--features "${myfeatures[*]}"} --no-default-features + cargo_src_install ${myfeatures:+--features "${myfeatures[*]}"} --no-default-features keepdir /etc/sccache |