[MacPorts] #56195: cargo downloads files during build phase
MacPorts
noreply at macports.org
Sat Mar 31 09:25:30 UTC 2018
#56195: cargo downloads files during build phase
---------------------------------+--------------------
Reporter: MarcusCalhoun-Lopez | Owner: sean@…
Type: defect | Status: new
Priority: Normal | Milestone:
Component: ports | Version:
Keywords: haspatch | Port: cargo
---------------------------------+--------------------
Attached is a patch that prevents cargo from downloading files during the
build phase.[[BR]]
Unfortunately, I was also attempting to allow cargo to build universal,
and the two fixes got mixed together.[[BR]]
If need be, I can try to separate the two changes.
The strategy used in the patch file is essentially the same as used by
[https://gitweb.gentoo.org/repo/gentoo.git/tree/dev-
util/cargo/cargo-0.24.0.ebuild gentoo].[[BR]]
The redefinition of {{{portfetch::assemble_url}}} is an extremely ugly
hack, but even gentoo had to do something similar with the function
[https://gitweb.gentoo.org/repo/gentoo.git/tree/eclass/cargo.eclass
cargo_crate_uris].
--
Ticket URL: <https://trac.macports.org/ticket/56195>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list