aboutsummaryrefslogtreecommitdiffstats
path: root/www/junkbuster/files/patch-aa
blob: 59a1478d4e9d8610c86977ff853bba2c2cca0e01 (plain) (blame)
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
28
29
30
31
32
33
34
35
36
37
38
39
40
--- Makefile.orig   Fri Aug  4 15:40:15 2000
+++ Makefile    Fri Nov  3 12:23:48 2000
@@ -5,20 +5,20 @@
 
 # set include and library paths for the zlib compression library
 #
-ZLIB_INC_FLAGS=-I../zlib
-ZLIB_LIB_FLAGS=-L ../zlib
+#ZLIB_INC_FLAGS=-I../zlib
+#ZLIB_LIB_FLAGS=-L ../zlib
 
 DEFAULT_CFLAGS = -I. $(ZLIB_INC_FLAGS) $(REGEX) -DSTDC_HEADERS -DHAVE_STRING
 
 PROG   = junkbuster
 O      = o
 RM     = rm -f
-MORE_CFLAGS = -g
+MORE_CFLAGS =
 LD = $(CC) $(CFLAGS) $(ZLIB_LIB)
 LDFLAGS = -lz
 
 # use this for Solaris 2.x
-#LDFLAGS = -lnsl -lsocket -lz
+LDFLAGS += -lgnuregex
 
 # use these for SunOS 4.x
 #LDFLAGS = -nsl -lz
@@ -63,10 +63,10 @@
 #MORE_CFLAGS = -relax_pointers
 #LDFLAGS = -map junkbuster.xMAP
 
-CFLAGS  = $(DEFAULT_CFLAGS) $(MORE_CFLAGS)
+CFLAGS  += $(DEFAULT_CFLAGS) $(MORE_CFLAGS)
 
 OBJS = jcc.$(O) parsers.$(O) filters.$(O) loaders.$(O) bind.$(O) conn.$(O) \
-   encode.$(O) ssplit.$(O) socks4.$(O) acl.$(O) gnu_regex.$(O) win32.$(O)
+   encode.$(O) ssplit.$(O) socks4.$(O) acl.$(O) win32.$(O)
 
 $(PROG): $(OBJS)
    $(LD) -o $(PROG) $(ZLIB_LIB_FLAGS) $(OBJS) $(LDFLAGS)