From 4da0feb9792e14e7e6ce75a71945ed5ff5b32715 Mon Sep 17 00:00:00 2001 From: Jakov Smolić Date: Thu, 28 Jul 2022 14:16:08 +0200 Subject: dev-util/maturin: Disable rustls on riscv too in 0.13.1 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Bug: https://bugs.gentoo.org/859577 Signed-off-by: Jakov Smolić --- dev-util/maturin/maturin-0.13.1.ebuild | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/dev-util/maturin/maturin-0.13.1.ebuild b/dev-util/maturin/maturin-0.13.1.ebuild index 1d9dbacce256..d63cc20f6be5 100644 --- a/dev-util/maturin/maturin-0.13.1.ebuild +++ b/dev-util/maturin/maturin-0.13.1.ebuild @@ -386,13 +386,13 @@ src_prepare() { # ensure rustls is disabled on arches where ring crate is problematic, # add as needed and keep in sync with src_configure below (bug #859577) - if use ppc || use ppc64 || use s390; then + if use ppc || use ppc64 || use riscv || use s390; then sed -i '/^if platform.machine/s/^if/if True or/' setup.py || die fi } src_configure() { - if use ppc || use ppc64 || use s390; then + if use ppc || use ppc64 || use riscv || use s390; then local myfeatures=( upload log human-panic ) # sync with setup.py cargo_src_configure --no-default-features fi -- cgit v1.2.3-65-gdbad