On 2021-4-23 15:35 , Christopher Jones wrote:
On 23 Apr 2021, at 3:48 am, Dan Ports <dpo...@macports.org> wrote:
To be clear, the problem here was that MacPorts uses the xcode-provided
git, and certain older systems have a version of git that's too old to
support the --shallow-since option, causing the port to break on
systems where it's buildable today.
Now, those systems are pretty old at this point (IIRC, it was El
Capitan and older) so perhaps that is worth reconsidering. We could
also install and use our own version of git on older systems as we do
for some other fetch/extract dependencies, but that would require a
base update.
why a base update ? Just adding port:git as a build dep would do it, as port
would then use that version instead.
Should be depends_fetch, and might also need to set git.cmd to
${prefix}/bin/git, but yes, it's certainly possible without a base update.
- Josh