diff options
author | Sergey Matveychuk <sem@FreeBSD.org> | 2004-08-20 13:18:34 +0000 |
---|---|---|
committer | Sergey Matveychuk <sem@FreeBSD.org> | 2004-08-20 13:18:34 +0000 |
commit | 83905b9c96910db3826ff601060958640a6770b0 (patch) | |
tree | c9918adabc6b36f016d5dca069a34995582aeee6 /net/pfflowd | |
parent | 82f6a88cb492201f447eac3d92343924d15fd1d9 (diff) |
Notes
Diffstat (limited to 'net/pfflowd')
-rw-r--r-- | net/pfflowd/Makefile | 4 | ||||
-rw-r--r-- | net/pfflowd/files/patch-Makefile | 10 | ||||
-rw-r--r-- | net/pfflowd/files/pf34-Makefile | 11 |
3 files changed, 19 insertions, 6 deletions
diff --git a/net/pfflowd/Makefile b/net/pfflowd/Makefile index 3708a79e1a7d..3231b1bd97d9 100644 --- a/net/pfflowd/Makefile +++ b/net/pfflowd/Makefile @@ -24,6 +24,10 @@ PLIST_FILES= sbin/pfflowd \ IGNORE= "Only for 5.0 and above" .endif +.if ${OSVERSION} < 502119 +EXTRA_PATCHES+= ${FILESDIR}/pf34-Makefile +.endif + .if ${OSVERSION} < 502106 BUILD_DEPENDS= ${LOCALBASE}/include/pf/net/pfvar.h:${PORTSDIR}/security/pf RUN_DEPENDS= ${LOCALBASE}/modules/pf.ko:${PORTSDIR}/security/pf diff --git a/net/pfflowd/files/patch-Makefile b/net/pfflowd/files/patch-Makefile index 8bbd654c6dfb..9eb368b14f92 100644 --- a/net/pfflowd/files/patch-Makefile +++ b/net/pfflowd/files/patch-Makefile @@ -1,6 +1,6 @@ --- Makefile Mon Feb 16 16:30:46 2004 -+++ Makefile Wed Feb 25 16:39:29 2004 -@@ -7,17 +7,17 @@ ++++ Makefile Thu Aug 19 22:08:28 2004 +@@ -7,7 +7,7 @@ LIBS=-lpcap -lutil #-lefence LDFLAGS=-g @@ -8,10 +8,8 @@ +CFLAGS=-g -O -I /usr/local/include/pf # Uncomment this if you are using pfflowd on OpenBSD <=3.4 --#CFLAGS+=-DOLD_PFSYNC -+CFLAGS+=-DOLD_PFSYNC - - TARGETS=pfflowd + #CFLAGS+=-DOLD_PFSYNC +@@ -16,8 +16,8 @@ all: $(TARGETS) diff --git a/net/pfflowd/files/pf34-Makefile b/net/pfflowd/files/pf34-Makefile new file mode 100644 index 000000000000..8ff334de49d6 --- /dev/null +++ b/net/pfflowd/files/pf34-Makefile @@ -0,0 +1,11 @@ +--- Makefile.orig Thu Aug 19 22:10:22 2004 ++++ Makefile Thu Aug 19 22:10:29 2004 +@@ -10,7 +10,7 @@ + CFLAGS=-g -O -I /usr/local/include/pf + + # Uncomment this if you are using pfflowd on OpenBSD <=3.4 +-#CFLAGS+=-DOLD_PFSYNC ++CFLAGS+=-DOLD_PFSYNC + + TARGETS=pfflowd + |