mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-25 00:51:21 +00:00
Fix building and running on 5.2.1.
This commit is contained in:
parent
650e73eb31
commit
124ae27621
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=102380
@ -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>
|
||||
|
10
net/ngrep-lib/files/patch-ngrep-lib.c
Normal file
10
net/ngrep-lib/files/patch-ngrep-lib.c
Normal file
@ -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>
|
||||
|
Loading…
Reference in New Issue
Block a user