diff -ur git-core-0.99.7.orig//Makefile git-core-0.99.7/Makefile --- git-core-0.99.7.orig//Makefile Mon Sep 19 12:43:04 2005 +++ git-core-0.99.7/Makefile Mon Sep 19 12:45:45 2005 @@ -42,7 +42,10 @@ GIT_VERSION = 0.99.7 -CFLAGS = -g -O2 -Wall +CFLAGS = -g -O2 +ifdef CURLDIR +CFLAGS+=-I$(CURLDIR)/include +endif ALL_CFLAGS = $(CFLAGS) $(PLATFORM_DEFINES) $(DEFINES) prefix = $(HOME) @@ -261,7 +264,11 @@ git-ssh-pull: rsh.o fetch.o git-ssh-push: rsh.o +ifdef CURLDIR +git-http-fetch: LIBS += -L$(CURLDIR)/lib -R$(CURLDIR)/lib -lcurl +else git-http-fetch: LIBS += -lcurl +endif git-rev-list: LIBS += $(OPENSSL_LIBSSL) init-db.o: init-db.c