HomeFreeBSD

devel/py-maturin: fix build on powerpc*

Description

devel/py-maturin: fix build on powerpc*

Since ring crate is unavailable on powerpc*, this port fails to build.
Add parameters from setup.py to CARGO_BUILD_ARGS:

if platform.machine() in ("ppc64le", "ppc64", "powerpc"):
    cargo_args.extend(
        ["--no-default-features", "--features=upload,log,human-panic"]
    )

Details

Provenance
pkubajAuthored on Oct 10 2021, 6:14 PM
Parents
R11:1834883816a0: net-mgmt/p5-FusionInventory-Agent: enable DMIDECODE only where it's available
Branches
Unknown
Tags
Unknown