fixing curl fetches on older MacPorts versions by using MacPorts' self-installed version of curl

Joshua Root jmr at macports.org
Wed Nov 25 19:19:18 UTC 2020


On 2020-11-26 06:08 , Ken Cunningham wrote:
> <https://github.com/macports/macports-base/blob/938d8528b896f15dc10c21a208b795f78acac127/src/port1.0/portfetch.tcl#L565>
> 
> where fetch just calls “curl” — but what is that — just the first curl in the PATH? If so, it should work as I describe and use the newer curl if it exists, and it doesn’t, so there must be more to it that just that.

It's a Tcl command provided by pextlib. PATH has no effect on where
commands are found in Tcl code unless you're using exec or system.
<https://github.com/macports/macports-base/blob/master/src/pextlib1.0/Pextlib.c#L1096>

- Josh


More information about the macports-dev mailing list