Module Name: src
Committed By: christos
Date: Wed Sep 5 17:10:27 UTC 2018
Modified Files:
src/external/bsd/libpcap/lib: Makefile
Log Message:
search first for the kernel bpf_filter.c
To generate a diff of this commit:
cvs rdiff -u -r1.20 -r1.21 src/external/bsd/libpcap/lib/Makefile
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/external/bsd/libpcap/lib/Makefile
diff -u src/external/bsd/libpcap/lib/Makefile:1.20 src/external/bsd/libpcap/lib/Makefile:1.21
--- src/external/bsd/libpcap/lib/Makefile:1.20 Mon Sep 3 17:26:19 2018
+++ src/external/bsd/libpcap/lib/Makefile Wed Sep 5 13:10:27 2018
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.20 2018/09/03 21:26:19 kre Exp $
+# $NetBSD: Makefile,v 1.21 2018/09/05 17:10:27 christos Exp $
USE_SHLIBDIR=yes
.include <bsd.own.mk>
@@ -24,6 +24,8 @@ __sed: .USE
-e 's,3PCAP,3,g' < ${.ALLSRC} > ${.TARGET}
+# Search first in the kernel for bpf_filter.c
+.PATH: ${NETBSDSRCDIR}/sys/net
SRCDIR= ${.CURDIR}/../dist
.PATH: ${SRCDIR}
@@ -136,6 +138,7 @@ CPPFLAGS+= -DINET6
SRCS= \
bpf_dump.c \
+bpf_filter.c \
bpf_image.c \
etherent.c \
fad-getad.c \
@@ -152,8 +155,6 @@ scanner.l \
sf-pcap.c \
sf-pcapng.c
-.PATH: ${NETBSDSRCDIR}/sys/net
-SRCS+= bpf_filter.c
INCS= pcap/pcap.h pcap/namedb.h pcap/funcattrs.h \
pcap/pcap-inttypes.h pcap/compiler-tests.h