1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-28 05:29:48 +00:00
freebsd-ports/net/pfflowd/files/patch-Makefile
Sergey Matveychuk 83905b9c96 The latest pf in current has a different pfsync interface, imported 16 June
from OpenBSD 3.5. Make build aware of this by making -DOLD_PFSYNC conditional.

PR:		ports/70654
Submitted by:	maintainer
2004-08-20 13:18:34 +00:00

23 lines
518 B
Plaintext

--- Makefile Mon Feb 16 16:30:46 2004
+++ Makefile Thu Aug 19 22:08:28 2004
@@ -7,7 +7,7 @@
LIBS=-lpcap -lutil #-lefence
LDFLAGS=-g
-CFLAGS=-g -O $(WARNFLAGS)
+CFLAGS=-g -O -I /usr/local/include/pf
# Uncomment this if you are using pfflowd on OpenBSD <=3.4
#CFLAGS+=-DOLD_PFSYNC
@@ -16,8 +16,8 @@
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