summaryrefslogtreecommitdiff
path: root/chat/ircd-hybrid/patches/patch-ac
blob: ade678e0a3f73c91b6811df82699268537f2b708 (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
25
26
27
$NetBSD: patch-ac,v 1.1.1.1 2001/10/21 21:26:52 seb Exp $

--- src/Makefile.in.orig	Thu Aug 30 03:54:46 2001
+++ src/Makefile.in
@@ -6,10 +6,11 @@
 RM = @RM@
 MKDEP = ${CC} -MM
 
-IRCDLIBS = @LIBS@ ../zlib/libz.a
+IRCDLIBS = @LIBS@ -lz
 
-INCLUDES = -I../include -I../zlib
-CPPFLAGS = ${INCLUDES} @CPPFLAGS@
+INCLUDES = -I../include
+CPPFLAGS = ${INCLUDES} @CPPFLAGS@ $(DEFS)
+LDFLAGS= @LDFLAGS@
  
 # For developers
 # CFLAGS= -g -O2 -Wall
@@ -187,7 +188,6 @@
 
 ircd: ${OBJS} version.o
 	${CC} ${LDFLAGS} -o $@ ${OBJS} version.o ${IRCDLIBS}
-	mv version.c version.c.last
 
 install: build
 	@echo "Please do a make install from the top level directory"