[MacPorts] #74409: Make port use a suitable git version

MacPorts noreply at macports.org
Wed Sep 9 03:31:18 UTC 2026


#74409: Make port use a suitable git version
--------------------------+---------------------
  Reporter:  ballapete    |      Owner:  (none)
      Type:  enhancement  |     Status:  new
  Priority:  Normal       |  Milestone:
 Component:  base         |    Version:  2.12.5
Resolution:               |   Keywords:  leopard
      Port:               |
--------------------------+---------------------

Comment (by ryandesign):

 Replying to [ticket:74409 ballapete]:
 > Here I have to setup Portfile to fetch the archive – from outside
 google?

 Ports should always fetch from a distfile when possible. Fetching from git
 or other vcs should be an absolute last resort.

 > It would make some sense to configure the base system `--with-
 git=/opt/local/bin/git` on some old Macs to "keep pace" with such
 extremists.

 Users can already use that option to do that if they want.

 > Or to upgrade port to accept a setting in Portfile that leads it to the
 useful git version.

 MacPorts is already using a useful git version when a port uses
 `fetch.type git`. Specifically, at present, on OS X 10.9 and earlier, it
 will use MacPorts git, not the older git bundled with macOS:

 https://github.com/macports/macports-
 base/blob/c9797f69df0c00fd5fdbe0da51c86276e0698730/src/port1.0/portfetch.tcl#L115-L122

 > Or to write a Portfile that works on all (yet) supported Mac OS X
 versions…

 If there's a specific Portfile that's not working, you can file a bug
 report about that port.

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


More information about the macports-tickets mailing list