--- git-2.45.0.orig/Makefile	2024-04-29 18:19:22.000000000 +0200
+++ git-2.45.0/Makefile	2024-04-30 18:49:09.370208023 +0200
@@ -1557,7 +1557,7 @@
 	BASIC_CFLAGS += -Dsocklen_t=$(SOCKLEN_T)
 endif
 
-ifeq ($(uname_S),Darwin)
+ifeq ($(uname_S),Darwin_no_thanks)
         ifndef NO_FINK
                 ifeq ($(shell test -d /sw/lib && echo y),y)
 			BASIC_CFLAGS += -I/sw/include
