summaryrefslogtreecommitdiff
path: root/meta
diff options
context:
space:
mode:
authorJan Luebbe <jluebbe@debian.org>2011-11-16 23:05:30 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2011-11-17 14:06:03 +0000
commit942cdda2194078755a11efef3ba3f502f72e4f5e (patch)
tree42591db137fa7b3dde646037a1a4f7287ac13ac9 /meta
parentabe2a948905a997314c61a8fcd35e2b42a3f4408 (diff)
downloadopenembedded-core-942cdda2194078755a11efef3ba3f502f72e4f5e.tar.gz
openembedded-core-942cdda2194078755a11efef3ba3f502f72e4f5e.tar.bz2
openembedded-core-942cdda2194078755a11efef3ba3f502f72e4f5e.zip
libpcap: use binconfig class to deploy pcap-config
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>
Diffstat (limited to 'meta')
-rw-r--r--meta/recipes-connectivity/libpcap/libpcap.inc4
-rw-r--r--meta/recipes-connectivity/libpcap/libpcap_1.1.1.bb2
2 files changed, 4 insertions, 2 deletions
diff --git a/meta/recipes-connectivity/libpcap/libpcap.inc b/meta/recipes-connectivity/libpcap/libpcap.inc
index 2737dbea97..84001e5a80 100644
--- a/meta/recipes-connectivity/libpcap/libpcap.inc
+++ b/meta/recipes-connectivity/libpcap/libpcap.inc
@@ -10,9 +10,11 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=1d4b0366557951c84a94fabe3529f867 \
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"
diff --git a/meta/recipes-connectivity/libpcap/libpcap_1.1.1.bb b/meta/recipes-connectivity/libpcap/libpcap_1.1.1.bb
index de04290c96..2700bb7f73 100644
--- a/meta/recipes-connectivity/libpcap/libpcap_1.1.1.bb
+++ b/meta/recipes-connectivity/libpcap/libpcap_1.1.1.bb
@@ -1,6 +1,6 @@
require libpcap.inc
-PR = "r0"
+PR = "${INC_PR}.0"
SRC_URI += "file://aclocal.patch \
file://ieee80215-arphrd.patch"