diff options
author | Georgy Yakovlev <gyakovlev@gentoo.org> | 2020-09-22 22:09:33 -0700 |
---|---|---|
committer | Georgy Yakovlev <gyakovlev@gentoo.org> | 2020-09-22 22:58:53 -0700 |
commit | 43d56afaf00b4306dca4aabc0c608aad18cdc795 (patch) | |
tree | c049993f7af2850487cf5cd75e528791952327f7 /dev-util/sccache/sccache-9999.ebuild | |
parent | x11-terms/alacritty: adjust for cargo_src_configure (diff) | |
download | gentoo-43d56afaf00b4306dca4aabc0c608aad18cdc795.tar.gz gentoo-43d56afaf00b4306dca4aabc0c608aad18cdc795.tar.bz2 gentoo-43d56afaf00b4306dca4aabc0c608aad18cdc795.zip |
dev-util/sccache: adjust for cargo_src_configure
Package-Manager: Portage-3.0.8, Repoman-3.0.1
Signed-off-by: Georgy Yakovlev <gyakovlev@gentoo.org>
Diffstat (limited to 'dev-util/sccache/sccache-9999.ebuild')
-rw-r--r-- | dev-util/sccache/sccache-9999.ebuild | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/dev-util/sccache/sccache-9999.ebuild b/dev-util/sccache/sccache-9999.ebuild index ea404f54b9cf..8cd33a9a3b17 100644 --- a/dev-util/sccache/sccache-9999.ebuild +++ b/dev-util/sccache/sccache-9999.ebuild @@ -57,14 +57,11 @@ src_configure() { $(usev redis) $(usev s3) ) -} - -src_compile() { - cargo_src_compile ${myfeatures:+--features "${myfeatures[*]}"} --no-default-features + cargo_src_configure --no-default-features } src_install() { - cargo_src_install ${myfeatures:+--features "${myfeatures[*]}"} --no-default-features + cargo_src_install keepdir /etc/sccache @@ -84,7 +81,7 @@ src_test() { if [[ "${PV}" == *9999* ]]; then ewarn "tests are always broken for ${PV} (require network), skipping" else - cargo_src_test ${myfeatures:+--features "${myfeatures[*]}"} --no-default-features + cargo_src_test fi } |