mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-25 09:34:11 +00:00
4f4d22516f
to have to have a seperate port rather than enhance this one). This patched version of Junkbuster now has the ability to automatically compress text/html and text/plain documents to save downstream modem/network bandwidth. It also allows one to specify appearance of blocked GIFs.
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)
|