[MacPorts] #59696: Use MacPorts git or svn if available when fetch.type is git or svn (was: redundant depends_fetch on port:git OR just use the port everywhere)

MacPorts noreply at macports.org
Tue Sep 1 01:53:45 UTC 2020


#59696: Use MacPorts git or svn if available when fetch.type is git or svn
--------------------------+--------------------
  Reporter:  RJVB         |      Owner:  (none)
      Type:  enhancement  |     Status:  new
  Priority:  Normal       |  Milestone:
 Component:  base         |    Version:
Resolution:               |   Keywords:
      Port:               |
--------------------------+--------------------

Comment (by ryandesign):

 Replying to [comment:3 RJVB]:
 > However, portfetch.tcl hardwires e.g. git.cmd to whatever value set in
 the autoconf.tcl file, meaning /usr/bin/git could be used even if
 $prefix/bin/git is available and probably newer.

 I believe that's correct. I suppose it could be changed to use MacPorts
 git/svn if available, for a hypothetical situation in which the copy found
 or specified at MacPorts configure time is not sufficient.

 MacPorts supports the user specifying which git or svn to use at the time
 that they configure MacPorts, and they might not expect MacPorts to use
 something different instead. But this capability is esoteric and I don't
 expect many users use it.

-- 
Ticket URL: <https://trac.macports.org/ticket/59696#comment:4>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list