aboutsummaryrefslogtreecommitdiff
path: root/net/ngrep-lib
diff options
context:
space:
mode:
authorEdwin Groothuis <edwin@FreeBSD.org>2004-02-28 11:24:53 +0000
committerEdwin Groothuis <edwin@FreeBSD.org>2004-02-28 11:24:53 +0000
commit124ae27621ed41d01504ff583f4f2301a6190114 (patch)
tree416bad323f010fc1c51f7276337bce7366f968e9 /net/ngrep-lib
parent650e73eb312bf38b6e9631d400edb490339963e6 (diff)
downloadports-124ae27621ed41d01504ff583f4f2301a6190114.tar.gz
ports-124ae27621ed41d01504ff583f4f2301a6190114.zip
Notes
Diffstat (limited to 'net/ngrep-lib')
-rw-r--r--net/ngrep-lib/Makefile10
-rw-r--r--net/ngrep-lib/files/patch-ngrep-lib.c10
2 files changed, 12 insertions, 8 deletions
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 <bsd.port.pre.mk>
-
-.if ${OSVERSION} >= 500113
-BROKEN= "Does not install on FreeBSD ${OSVERSION}"
-.endif
-
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>
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 <netinet/udp.h>
+ #include <netinet/ip_icmp.h>
+
++#define PCAP_DONT_INCLUDE_PCAP_BPF_H
+ #include <pcap.h>
+ #include <net/bpf.h>
+