1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-11 23:25:17 +00:00
freebsd-ports/www/junkbuster-zlib/files/patch-aa
Steve Price 14fd2072a9 Use gnuregex library in the base system instead of the old one provided
by the port.  Also cleanup all warning messages when compiling with -Wall.

PR:		17035
Submitted by:	Mario Sergio Fujikawa Ferreira <lioux@linf.unb.br>
2000-04-30 20:36:05 +00:00

30 lines
850 B
Plaintext

diff -ruN /usr/ports/www/ijb/work/ijb20/Makefile ./Makefile
--- /usr/ports/www/ijb/work/ijb20/Makefile Mon Feb 28 02:35:10 2000
+++ ./Makefile Mon Feb 28 02:37:39 2000
@@ -8,10 +8,11 @@
PROG = junkbuster
O = o
RM = rm -f
-MORE_CFLAGS = -g
+MORE_CFLAGS =
# use this for Solaris 2.x
#LDFLAGS = -lnsl -lsocket
+LDFLAGS += -lgnuregex
# use these for SunOS 4.x
#LDFLAGS = -nsl
@@ -47,10 +48,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)
$(CC) $(CFLAGS) -o $(PROG) $(OBJS) $(LDFLAGS)