From 124ae27621ed41d01504ff583f4f2301a6190114 Mon Sep 17 00:00:00 2001 From: Edwin Groothuis Date: Sat, 28 Feb 2004 11:24:53 +0000 Subject: Fix building and running on 5.2.1. --- net/ngrep-lib/Makefile | 10 ++-------- net/ngrep-lib/files/patch-ngrep-lib.c | 10 ++++++++++ 2 files changed, 12 insertions(+), 8 deletions(-) create mode 100644 net/ngrep-lib/files/patch-ngrep-lib.c (limited to 'net/ngrep-lib') diff --git a/net/ngrep-lib/Makefile b/net/ngrep-lib/Makefile index 71d4806db780..ab7453e06260 100644 --- a/net/ngrep-lib/Makefile +++ b/net/ngrep-lib/Makefile @@ -16,14 +16,8 @@ COMMENT= Easy packet filtering library based on ngrep MAN3= ngrep-lib.3 HAS_CONFIGURE= yes -CONFIGURE_ARGS+=--prefix=${PREFIX} +CONFIGURE_ARGS+=--prefix=${PREFIX} -without-restart INSTALLS_SHLIB= yes -.include - -.if ${OSVERSION} >= 500113 -BROKEN= "Does not install on FreeBSD ${OSVERSION}" -.endif - -.include +.include diff --git a/net/ngrep-lib/files/patch-ngrep-lib.c b/net/ngrep-lib/files/patch-ngrep-lib.c new file mode 100644 index 000000000000..475ff54a8e39 --- /dev/null +++ b/net/ngrep-lib/files/patch-ngrep-lib.c @@ -0,0 +1,10 @@ +--- ngrep-lib.c.orig Sat Feb 28 22:23:31 2004 ++++ ngrep-lib.c Sat Feb 28 22:23:46 2004 +@@ -51,6 +51,7 @@ + #include + #include + ++#define PCAP_DONT_INCLUDE_PCAP_BPF_H + #include + #include + -- cgit v1.2.3