summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
ca590a4)
Changed files:
cgit-system-git.patch -> 1.2
--- cgit-0.8.1.orig/Makefile 2008-12-10 09:59:24.000000000 +0100
+++ cgit-0.8.1/Makefile 2008-12-10 10:03:03.000000000 +0100
@@ -6,6 +6,7 @@
--- cgit-0.8.1.orig/Makefile 2008-12-10 09:59:24.000000000 +0100
+++ cgit-0.8.1/Makefile 2008-12-10 10:03:03.000000000 +0100
@@ -6,6 +6,7 @@
- SHA1_HEADER = <openssl/sha.h>
- GIT_VER = 1.6.0.2
GIT_URL = http://www.kernel.org/pub/software/scm/git/git-$(GIT_VER).tar.bz2
GIT_URL = http://www.kernel.org/pub/software/scm/git/git-$(GIT_VER).tar.bz2
+ # Define NO_STRCASESTR if you don't have strcasestr.
- # Let the user override the above settings.
@@ -46,7 +47,7 @@
$(QUIET_CC)$(CC) -o $*.o -c $(CFLAGS) $<
@@ -46,7 +47,7 @@
$(QUIET_CC)$(CC) -o $*.o -c $(CFLAGS) $<
OBJECTS += cache.o
OBJECTS += cgit.o
@@ -97,17 +98,13 @@
OBJECTS += cache.o
OBJECTS += cgit.o
@@ -97,17 +98,13 @@
+ CFLAGS += -DNO_STRCASESTR
endif
-cgit: $(OBJECTS) libgit
endif
-cgit: $(OBJECTS) libgit
-include $(OBJECTS:.o=.d)
-libgit:
-include $(OBJECTS:.o=.d)
-libgit:
-- $(QUIET_SUBDIR0)git $(QUIET_SUBDIR1) libgit.a
-- $(QUIET_SUBDIR0)git $(QUIET_SUBDIR1) xdiff/lib.a
+- $(QUIET_SUBDIR0)git $(QUIET_SUBDIR1) NO_CURL=1 libgit.a
+- $(QUIET_SUBDIR0)git $(QUIET_SUBDIR1) NO_CURL=1 xdiff/lib.a
-
test: all
$(QUIET_SUBDIR0)tests $(QUIET_SUBDIR1) all
-
test: all
$(QUIET_SUBDIR0)tests $(QUIET_SUBDIR1) all