ab415159b8
This is a workaround to add some manual "support" for Cargo projects that use workspaces where the current method of patching is not good enough as it causes the various Cargo.toml to point to the wrong directory. With CARGO_GIT_SUBDIR maintainers can control the patching process a little and point things to the correct subdirectories. CARGO_GIT_SUBDIR= <group>:<crate name>:<subdir under ${WRKSRC_group}> This is needed for alacritty 0.4.0-rc2 where the glutin sources are under ${WRKSRC_glutin}/glutin and not just ${WRKSRC_glutin}. This causes the following issue: error: failed to load source for a dependency on `glutin` Caused by: Unable to update .../x11/alacritty/work/glutin-7e479d Caused by: found a virtual manifest at `.../x11/alacritty/work/glutin-7e479d/Cargo.toml` instead of a package manifest For glutin we would set CARGO_GIT_SUBDIR=glutin:glutin:glutin to work around this problem and point the build to .../x11/alacritty/work/glutin-7e479d/glutin instead. |
||
---|---|---|
.. | ||
Scripts | ||
Uses | ||
Wrappers | ||
bsd.ccache.mk | ||
bsd.commands.mk | ||
bsd.default-versions.mk | ||
bsd.destdir.mk | ||
bsd.gcc.mk | ||
bsd.gecko.mk | ||
bsd.gstreamer.mk | ||
bsd.java.mk | ||
bsd.ldap.mk | ||
bsd.licenses.db.mk | ||
bsd.licenses.mk | ||
bsd.local.mk | ||
bsd.ocaml.mk | ||
bsd.octave.mk | ||
bsd.options.desc.mk | ||
bsd.options.mk | ||
bsd.port.mk | ||
bsd.port.options.mk | ||
bsd.port.post.mk | ||
bsd.port.pre.mk | ||
bsd.port.subdir.mk | ||
bsd.ruby.mk | ||
bsd.sanity.mk | ||
bsd.sites.mk | ||
bsd.ssp.mk | ||
bsd.tex.mk | ||
bsd.wx.mk |