Convert git-1.7.10.2.recipe into an actual recipe and adjust the patch

This commit is contained in:
Oliver Tappe
2013-05-05 01:16:29 +02:00
parent 8b805bf3d9
commit 638535666f
2 changed files with 182 additions and 35 deletions

View File

@@ -1,34 +1,30 @@
diff -up git-1.7.10.2/Makefile.orig git-1.7.10.2/Makefile
--- git-1.7.10.2/Makefile.orig 2012-05-11 14:25:45.066322432 -0600
+++ git-1.7.10.2/Makefile 2012-05-19 12:53:42.392429568 -0600
@@ -1242,6 +1242,31 @@ ifeq ($(uname_S),Minix)
@@ -1242,6 +1242,27 @@ ifeq ($(uname_S),Minix)
NO_CURL =
NO_EXPAT =
endif
+ifeq ($(uname_S),Haiku)
+ NO_CROSS_DIRECTORY_HARDLINKS = YesPlease
+ NO_GETTEXT = YesPlease
+ NO_ICONV = YesPlease
+ 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
+ htmldir = /boot/common/documentation/doc/git-1.7.10.2
+ 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
+ NO_GETTEXT = YesPlease
+ BASIC_LDFLAGS += -lnetwork -lbsd
+ DEFAULT_EDITOR = nano
+ PERL_PATH = $(portPackageLinksDir)/perl/bin/perl
+ PYTHON_PATH = $(portPackageLinksDir)/python/bin/python
+ prefix = $(portPackageLinksDir)/.self
+ mandir = $(manDir)
+ infodir = $(infoDir)
+ htmldir = $(docDir)
+ gitexecdir = $(libDir)/git-core
+ gitwebdir = $(dataDir)/gitweb
+ template_dir = $(dataDir)/git-core/templates
+endif
ifneq (,$(findstring MINGW,$(uname_S)))
pathsep = ;