diff -urN git-1.7.7.2/Makefile git-1.7.7.2-haiku/Makefile --- git-1.7.7.2/Makefile 2011-11-02 01:06:28.053739520 +0000 +++ git-1.7.7.2-haiku/Makefile 2011-11-03 15:27:49.000000000 +0000 @@ -1176,6 +1176,29 @@ NO_CURL = NO_EXPAT = endif +ifeq ($(uname_S),Haiku) + NO_LIBGEN_H = YesPlease + NO_MEMMEM = YesPlease + NO_MKSTEMPS = YesPlease + NEEDS_LIBICONV = YesPlease + PERL_PATH = perl + PYTHON_PATH = python +# TCL_PATH = tclsh + mandir = /boot/common/documentation/man + infodir = /boot/common/documentation/info + gitexecdir = /boot/common/bin/git-core + gitwebdir = /boot/common/data/gitweb + template_dir = /boot/common/data/git-core/templates + NO_TCLTK = YesPlease + DEFAULT_EDITOR = nano + CURL_DIR = /boot/common + EXPAT_DIR = /boot/common + BASIC_CFLAGS += -I/boot/common/include + BASIC_LDFLAGS += -lnetwork -lbsd -L/boot/common/lib + PTHREAD_LIBS = + prefix = /boot/common + NO_CROSS_DIRECTORY_HARDLINKS = YesPlease +endif ifneq (,$(findstring MINGW,$(uname_S))) pathsep = ; NO_PREAD = YesPlease