summaryrefslogtreecommitdiff
path: root/chat/ircd-hybrid/patches/patch-ag
diff options
context:
space:
mode:
Diffstat (limited to 'chat/ircd-hybrid/patches/patch-ag')
-rw-r--r--chat/ircd-hybrid/patches/patch-ag36
1 files changed, 36 insertions, 0 deletions
diff --git a/chat/ircd-hybrid/patches/patch-ag b/chat/ircd-hybrid/patches/patch-ag
new file mode 100644
index 00000000000..e1ea63296d9
--- /dev/null
+++ b/chat/ircd-hybrid/patches/patch-ag
@@ -0,0 +1,36 @@
+$NetBSD: patch-ag,v 1.1.1.1 2001/10/21 21:26:52 seb Exp $
+
+--- tools/Makefile.in.orig Tue Jul 10 14:40:38 2001
++++ tools/Makefile.in
+@@ -3,8 +3,9 @@
+ CC=@CC@
+ RM=@RM@
+
+-IRCDLIBS = @LIBS@
+-INCLUDEDIR = -I../include -I../zlib
++IRCDLIBS = @LIBS@ -lz
++CPPFLAGS = -I../include @CPPFLAGS@ $(DEFS)
++LDFLAGS = @LDFLAGS@
+
+ mkpasswd_SOURCES = mkpasswd.c
+ mkpasswd_OBJECTS = mkpasswd.o
+@@ -36,7 +37,7 @@
+ $(RM) -f Makefile
+
+ .c.o:
+- $(CC) $(CFLAGS) $(INCLUDEDIR) -c $<
++ $(CC) $(CPPFLAGS) $(CFLAGS) -c $<
+
+ install: build
+ @echo "Please do a make install from the top level directory"
+@@ -46,10 +47,3 @@
+ lint:
+ lint -aacgprxhH $(INCLUDEDIR) $(mkpasswd_SOURCES) $(viconf_SOURCES) $(fixklines_SOURCES) >>../lint.out
+ @echo done
+-
+-# DO NOT DELETE
+-
+-mkpasswd.o: ../include/setup.h ../zlib/zlib.h
+-mkpasswd.o: ../zlib/zconf.h
+-viconf.o: ../include/config.h ../include/setup.h
+-viconf.o: ../zlib/zlib.h ../zlib/zconf.h