This is related to Git 2.4.8 built from kernel.org sources and missing HTTP/HTTPS helpers.
I found cURL's library was effectively configured with -arch ppc -arch ppc64, but the fat library that was built has the architectures -arch ppc7400 -arch ppc64. That's causing a Git configure/link failure, so Git's configure is [silently] dropping cURL, which is [silently] removing the HTTP/HTTPS helpers.
The really odd thing is the other eight or so dependent libraries are fine when built using the same steps. The dependent libraries have both -arch ppc -arch ppc64 as instructed. The other libraries include Zlib, Bzip, iConv, PCRE, and OpenSSL.
I've grepped the cURL sources with $ grep -IR -i "\-arch ppc7400" *, $ grep -IR -i "ppc7400" * and $ grep -IR -i "\-arch" *, but I cannot find the source of the change.
What can be the cause of the change from -arch ppc to -arch ppc7400?
This is not git- or curl-specific, and is in fact an intentional feature of the compiler. The compiler has noticed you are running on OS X 10.5 Leopard. ppc7400 is the architecture of the PowerPC G4 processor, which is the minimum processor required to run Leopard, so the compiler has changed your request for
-arch ppcinto-arch ppc7400in order to generate the best code that will run on the minimum supported computer. If you want to support Macs running the earlier G3 processor, then that also means you'll need to support running on OS X 10.4, which is the last OS X version to support the G3. To do that, pass the-mmacosx-version-min=10.4flag to the compiler, or set theMACOSX_DEPLOYMENT_TARGETenvironment variable to10.4.I've noticed that the translation from ppc to ppc7400 only happens if you are building universal (i.e. if you are also building for another architecture at the same time). I'm not sure why it doesn't do this when only building for a single arch.