[Bug 268706] Mk/Uses/cargo.mk: Fails to configure one Rust port (audio/psst)

From: <bugzilla-noreply_at_freebsd.org>
Date: Thu, 19 Jan 2023 17:46:45 UTC

--- Comment #2 from Yuri Victorovich <yuri@freebsd.org> ---
(In reply to Tobias Kortkamp from comment #1)


This works when there is a single-level subdirectory.
But what to do when there is a deeper subdirectory?

In the port cad/veryl adding:
> CARGO_BUILD_ARGS=       --package=crates/veryl
> CARGO_INSTALL_PATH=     crates/veryl

> ===>  Building for veryl-0.2.1
> error: package ID specification `crates/veryl` looks like a file path, maybe try file:///usr/ports/cad/veryl/work/veryl-veryl-v0.2.1/crates/veryl
> *** Error code 101

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