1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-28 01:06:17 +00:00
freebsd-ports/net/pfflowd/files/patch-Makefile
Rong-En Fan 031c0125ab - Unbreak for pf < 3.7
Submitted by:	thompsa
2008-05-29 06:07:38 +00:00

25 lines
485 B
Plaintext

--- Makefile.orig 2006-07-07 01:27:13.000000000 -0700
+++ Makefile 2008-05-28 13:00:20.000000000 -0700
@@ -7,14 +7,18 @@
LIBS=-lpcap -lutil
LDFLAGS=-g
-CFLAGS=-g -O $(WARNFLAGS)
+CFLAGS=-g -O
+
+.if defined(OLD_PFSYNC)
+CFLAGS+=-DOLD_PFSYNC
+.endif
TARGETS=pfflowd
all: $(TARGETS)
-pfflowd: pfflowd.o
- $(CC) $(LDFLAGS) -o $@ pfflowd.o $(LIBS)
+pfflowd: pfflowd.o pidfile.o
+ $(CC) $(LDFLAGS) -o $@ pfflowd.o pidfile.o $(LIBS)
clean:
rm -f $(TARGETS) *.o core *.core