diff options
| author | Max Laier <mlaier@FreeBSD.org> | 2007-10-16 02:10:44 +0000 |
|---|---|---|
| committer | Max Laier <mlaier@FreeBSD.org> | 2007-10-16 02:10:44 +0000 |
| commit | 3bc70204ae96e1db0ff987615905d8f466efdc26 (patch) | |
| tree | 450731784ea37147a56d48259421f9e4bbba0f81 /lib/libpcap/Makefile | |
| parent | 5357e0fedb25cf03a87aa46d098860ed16f77560 (diff) | |
Notes
Diffstat (limited to 'lib/libpcap/Makefile')
| -rw-r--r-- | lib/libpcap/Makefile | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/lib/libpcap/Makefile b/lib/libpcap/Makefile index 4b81ceb1896b..6863573ba0e8 100644 --- a/lib/libpcap/Makefile +++ b/lib/libpcap/Makefile @@ -10,7 +10,7 @@ SRCS= grammar.y tokdefs.h version.h pcap-bpf.c \ pcap.c inet.c fad-getad.c gencode.c optimize.c nametoaddr.c \ etherent.c savefile.c bpf_filter.c bpf_image.c bpf_dump.c \ scanner.l version.c -INCS= pcap.h pcap-int.h pcap-namedb.h +INCS= pcap.h pcap-int.h pcap-namedb.h pcap-bpf.h MAN= pcap.3 CLEANFILES=tokdefs.h version.h version.c @@ -22,6 +22,9 @@ CFLAGS+=-DHAVE_SNPRINTF -DHAVE_VSNPRINTF .if ${MK_INET6_SUPPORT} != "no" CFLAGS+=-DINET6 .endif +.if ${MK_PF} != "no" +CFLAGS+=-DHAVE_NET_PFVAR_H +.endif SHLIB_MAJOR=5 |
