libpcap: use binconfig class to deploy pcap-config
This fixes building of tcpdump on hosts where libpcap-dev is installed. Also introduce INC_PR. (From OE-Core rev: 942cdda2194078755a11efef3ba3f502f72e4f5e) Signed-off-by: Jan Luebbe <jluebbe@debian.org> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
parent
06072024be
commit
e94c542d7c
|
@ -10,9 +10,11 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=1d4b0366557951c84a94fabe3529f867 \
|
||||||
file://pcap.h;beginline=1;endline=34;md5=8d6cf7e17d5745010d633e30bc529ea9"
|
file://pcap.h;beginline=1;endline=34;md5=8d6cf7e17d5745010d633e30bc529ea9"
|
||||||
DEPENDS = "flex-native bison-native"
|
DEPENDS = "flex-native bison-native"
|
||||||
|
|
||||||
|
INC_PR = "r1"
|
||||||
|
|
||||||
SRC_URI = "http://www.tcpdump.org/release/libpcap-${PV}.tar.gz"
|
SRC_URI = "http://www.tcpdump.org/release/libpcap-${PV}.tar.gz"
|
||||||
|
|
||||||
inherit autotools
|
inherit autotools binconfig
|
||||||
|
|
||||||
EXTRA_OECONF = "--with-pcap=linux"
|
EXTRA_OECONF = "--with-pcap=linux"
|
||||||
|
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
require libpcap.inc
|
require libpcap.inc
|
||||||
|
|
||||||
PR = "r0"
|
PR = "${INC_PR}.0"
|
||||||
|
|
||||||
SRC_URI += "file://aclocal.patch \
|
SRC_URI += "file://aclocal.patch \
|
||||||
file://ieee80215-arphrd.patch"
|
file://ieee80215-arphrd.patch"
|
||||||
|
|
Loading…
Reference in New Issue