]> git.pld-linux.org Git - packages/cgit.git/blob - cgit-system-git.patch
8dfe9aca004b4aaf7e7942631e60494cf66f51d5
[packages/cgit.git] / cgit-system-git.patch
1 --- cgit-0.8.3.4/Makefile.orig  2010-09-27 08:00:47.000000000 +0200
2 +++ cgit-0.8.3.4/Makefile       2010-10-14 01:24:36.000000000 +0200
3 @@ -8,6 +8,7 @@
4  GIT_VER = 1.7.12.4
5  GIT_URL = https://git-core.googlecode.com/files/git-$(GIT_VER).tar.gz
6  INSTALL = install
7 +LIBDIR = /usr/lib
8  MAN5_TXT = $(wildcard *.5.txt)
9  MAN_TXT  = $(MAN5_TXT)
10  DOC_MAN5 = $(patsubst %.txt,%,$(MAN5_TXT))
11 @@ -1238,7 +123,7 @@
12         LDLIBS += -liconv
13  endif
14  
15 -LDLIBS += git/libgit.a git/xdiff/lib.a -lz -lpthread
16 +LDLIBS += $(LIBDIR)/libgit.a $(LIBDIR)/libgit_xdiff.a -lpcre -lz -lpthread
17  
18  OBJECTS += cgit.o
19  OBJECTS += cache.o
20 @@ -174,13 +175,9 @@
21  
22  all:: cgit
23  
24 -cgit: VERSION $(OBJECTS) libgit
25 +cgit: VERSION $(OBJECTS)
26         $(QUIET_LINK)$(CC) $(CFLAGS) $(LDFLAGS) -o $@ $(OBJECTS) $(LDLIBS)
27  
28 -libgit:
29 -       $(QUIET_SUBDIR0)git $(QUIET_SUBDIR1) NO_CURL=1 $(GIT_OPTIONS) libgit.a
30 -       $(QUIET_SUBDIR0)git $(QUIET_SUBDIR1) NO_CURL=1 $(GIT_OPTIONS) xdiff/lib.a
31 -
32  test: all
33         $(QUIET_SUBDIR0)tests $(QUIET_SUBDIR1) all
34  
This page took 0.064965 seconds and 2 git commands to generate.