mirror of
https://git.FreeBSD.org/ports.git
synced 2024-10-29 21:39:24 +00:00
bfecff3502
addition to ads zapping can authomatically compress html pages being sent to the client. Port has been repo-copied from www/junkbuster.
41 lines
1.1 KiB
Plaintext
41 lines
1.1 KiB
Plaintext
--- 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)
|