[Bug 245536] PREFIX-safety of cargo-using ports

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Sat Apr 11 16:20:11 UTC 2020


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=245536

Jan Beich <jbeich at FreeBSD.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
              Flags|                            |merge-quarterly+
                 CC|jbeich at FreeBSD.org,         |rust at FreeBSD.org
                   |ports-bugs at FreeBSD.org      |
           Assignee|rust at FreeBSD.org            |jbeich at FreeBSD.org

--- Comment #6 from Jan Beich <jbeich at FreeBSD.org> ---
(In reply to Tobias Kortkamp from comment #3)
> librav1e is abusing CARGO_BUILD_ARGS for `cargo cinstall` and should be
> fixed instead to not use CARGO_BUILD_ARGS or pass --prefix itself.

This is intentional. librav1e needs USES=cargo while "cargo cbuild" shares
"cargo build" flags e.g.,
- --release dependeding on WITH_DEBUG
- --features, --all-features, --no-default-features depending on CARGO_FEATURES

Discrepancy in flags is either due to bugs in cargo-c or historical raisins in
cargo (e.g., --release default).

-- 
You are receiving this mail because:
You are on the CC list for the bug.


More information about the freebsd-ports-bugs mailing list