aboutsummaryrefslogtreecommitdiffstats
path: root/net/pfflowd/files
diff options
context:
space:
mode:
authorsem <sem@FreeBSD.org>2004-08-20 21:18:34 +0800
committersem <sem@FreeBSD.org>2004-08-20 21:18:34 +0800
commitea698069eb1a42daa73631876b5fe0432d60abc9 (patch)
tree3598fac0526e2ed3fcbadadc4be376faf868fb66 /net/pfflowd/files
parent6aa58fe36f62fa3f1dfc2cc09843bff5c75c3537 (diff)
downloadfreebsd-ports-gnome-ea698069eb1a42daa73631876b5fe0432d60abc9.tar.gz
freebsd-ports-gnome-ea698069eb1a42daa73631876b5fe0432d60abc9.tar.zst
freebsd-ports-gnome-ea698069eb1a42daa73631876b5fe0432d60abc9.zip
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
Diffstat (limited to 'net/pfflowd/files')
-rw-r--r--net/pfflowd/files/patch-Makefile10
-rw-r--r--net/pfflowd/files/pf34-Makefile11
2 files changed, 15 insertions, 6 deletions
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
+