cvsps-2.1-build.patch 396 B

12345678910111213141516171819
  1. --- Makefile.orig 2008-03-24 07:16:47.000000000 -0400
  2. +++ Makefile 2008-03-24 07:17:18.000000000 -0400
  3. @@ -3,6 +3,7 @@
  4. CC?=gcc
  5. CFLAGS?=-g -O2 -Wall
  6. CFLAGS+=-I. -DVERSION=\"$(MAJOR).$(MINOR)\"
  7. +LDLIBS+=-lz
  8. prefix?=/usr/local
  9. OBJS=\
  10. cbtcommon/debug.o\
  11. @@ -21,7 +22,6 @@
  12. all: cvsps
  13. cvsps: $(OBJS)
  14. - $(CC) -o cvsps $(OBJS) -lz
  15. install:
  16. [ -d $(prefix)/bin ] || mkdir -p $(prefix)/bin