This fixes building of tcpdump on hosts where libpcap-dev is installed.
Also introduce INC_PR.
Signed-off-by: Jan Luebbe <jluebbe@debian.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
file://pcap.h;beginline=1;endline=34;md5=8d6cf7e17d5745010d633e30bc529ea9"
DEPENDS = "flex-native bison-native"
+INC_PR = "r1"
+
SRC_URI = "http://www.tcpdump.org/release/libpcap-${PV}.tar.gz"
-inherit autotools
+inherit autotools binconfig
EXTRA_OECONF = "--with-pcap=linux"
require libpcap.inc
-PR = "r0"
+PR = "${INC_PR}.0"
SRC_URI += "file://aclocal.patch \
file://ieee80215-arphrd.patch"