Adam Jimerson <vend...@gmail.com> writes:

> I'm trying to make a port that depends on a number of cargo crates, both 
> direct and indirect dependencies, one of these crates needs network access to 
> build. The crate in question is psl (https://crates.io/crates/psl).

To avoid network see cargo-configure in Mk/Uses/cargo.mk. How much is necessary
depends on a particular project/port. Sometimes you can merge different build
systems like x11/squeekboard did USES=meson + USES=cargo, sometimes upstream
already vendored crates like graphics/librsvg2-rust.

If you still can't figure out attach the WIP port (or just Makefile if
there're no patches), so others can expirement.
_______________________________________________
freebsd-ports@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"

Reply via email to