Created attachment 211018 [details] build log When having WITH_DEBUG=yes in make.conf build fails with: error: Found argument '--debug' which wasn't expected, or isn't valid in this context USAGE: cargo-cinstall install --destdir <destdir> If I understand the Makefile right ${CARGO_INSTALL_ARGS} is normally empty for that port and only in the WITH_DEBUG case it will only contain '--debug' so removing ${CARGO_INSTALL_ARGS} in do-install could fix this issue
Created attachment 211019 [details] remove ${CARGO_INSTALL_ARGS}
Makes sense. cbuild doesn't have inconsistent defaults unlike cargo build vs. cargo install.
A commit references this bug: Author: jbeich Date: Sat Jan 25 15:43:22 UTC 2020 New revision: 524042 URL: https://svnweb.freebsd.org/changeset/ports/524042 Log: multimedia/librav1e: unbreak build WITH_DEBUG error: Found argument '--debug' which wasn't expected, or isn't valid in this context PR: 243572 Submitted by: nimaje+fbz@bureaucracy.de Changes: head/multimedia/librav1e/Makefile
A commit references this bug: Author: jbeich Date: Sat Jan 25 15:44:20 UTC 2020 New revision: 524043 URL: https://svnweb.freebsd.org/changeset/ports/524043 Log: MFH: r524042 multimedia/librav1e: unbreak build WITH_DEBUG error: Found argument '--debug' which wasn't expected, or isn't valid in this context PR: 243572 Submitted by: nimaje+fbz@bureaucracy.de Approved by: ports-secteam blanket Changes: _U branches/2020Q1/ branches/2020Q1/multimedia/librav1e/Makefile