summaryrefslogtreecommitdiff
path: root/devel/opencm/patches/patch-ac
blob: f98d7378376c6247cbab33c43123d41b4039bb66 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
$NetBSD: patch-ac,v 1.3 2002/11/26 12:09:45 jmmv Exp $

--- src/Makefile.in.orig	Fri Oct 11 05:57:13 2002
+++ src/Makefile.in
@@ -107,8 +107,8 @@ INCLUDE=-I$(TOPDIR)/ @CPPFLAGS@
 # COMREADLINE=-DUSE_READLINE -I/usr/include/readline
 SESSIONTIMEOUT=-DCLIENT_TIMEOUT=1800
 LIBDIFF=$(TOPDIR)/../libgdiff/libgdiff.a
-LIBZ=$(TOPDIR)/../zlib/libz.a
-LIBGC=$(TOPDIR)/../gc6.1/.libs/libgc.a
+LIBZ=-lz
+LIBGC=-lgc
 
 XCFLAGS = -Wmissing-prototypes -Wall -Wreturn-type -DDATADIR=\"$(datadir)\"
 # XCFLAGS += -Wno-unused -Werror
@@ -236,7 +236,7 @@ distclean: clean nodepend
 nodepend:
 	find $(TOPDIR) -name '*.m' -exec rm {} \;
 
-$(OPENCM): $(OBJECTS) $(LIBDIFF) $(LIBZ) $(LIBGC)
+$(OPENCM): $(OBJECTS) $(LIBDIFF)
 	$(CC) -o $(OPENCM) $(CFLAGS) $(OBJECTS) $(LDFLAGS) $(LIBDIFF) $(LIBZ) $(LIBGC) $(LIBS)
 
 # Whenever we rebuild a .o file, we also need to rebuild the .m file: