diff options
author | Georgy Yakovlev <gyakovlev@gentoo.org> | 2021-05-01 05:11:57 -0700 |
---|---|---|
committer | Georgy Yakovlev <gyakovlev@gentoo.org> | 2021-05-01 05:21:19 -0700 |
commit | b88ecf49381e3cae77f113ddd54a3eadae2fd473 (patch) | |
tree | 7daec7985b372f48db69a488e6220d385e009d88 /dev-util/rustup | |
parent | dev-util/rustup: bump to 1.24.1 (diff) | |
download | gentoo-b88ecf49381e3cae77f113ddd54a3eadae2fd473.tar.gz gentoo-b88ecf49381e3cae77f113ddd54a3eadae2fd473.tar.bz2 gentoo-b88ecf49381e3cae77f113ddd54a3eadae2fd473.zip |
dev-util/rustup: update live ebuild
Package-Manager: Portage-3.0.18, Repoman-3.0.3
Signed-off-by: Georgy Yakovlev <gyakovlev@gentoo.org>
Diffstat (limited to 'dev-util/rustup')
-rw-r--r-- | dev-util/rustup/rustup-9999.ebuild | 20 |
1 files changed, 16 insertions, 4 deletions
diff --git a/dev-util/rustup/rustup-9999.ebuild b/dev-util/rustup/rustup-9999.ebuild index ccdc91c9c6bc..36bc896f0bc2 100644 --- a/dev-util/rustup/rustup-9999.ebuild +++ b/dev-util/rustup/rustup-9999.ebuild @@ -1,4 +1,4 @@ -# Copyright 2020 Gentoo Authors +# Copyright 2020-2021 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 @@ -24,7 +24,6 @@ LICENSE="Apache-2.0 Apache-2.0-with-LLVM-exceptions BSD Boost-1.0 CC0-1.0 MIT Un SLOT="0" IUSE="" -# requires old libressl-2.5, so openssl only for now. DEPEND=" app-arch/xz-utils net-misc/curl:=[http2,ssl] @@ -48,8 +47,21 @@ src_unpack() { } src_configure() { - local myfeatures=( no-self-update ) - cargo_src_configure + # modeled after ci/run.bash upstream + # reqwest-rustls-tls requires ring crate, which is not very portable. + local myfeatures=( + no-self-update + curl-backend + reqwest-backend + reqwest-default-tls + ) + case ${ARCH} in + ppc*|mips*|riscv*|s390*) + ;; + *) myfeatures+=( reqwest-rustls-tls ) + ;; + esac + cargo_src_configure --no-default-features } src_compile() { |