diff options
author | Jan Luebbe <jluebbe@debian.org> | 2011-11-16 23:05:30 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2011-11-18 10:47:11 +0000 |
commit | 28b0c29594f5548379ccb514dff364dd758284fa (patch) | |
tree | 99b5ee6c499fea08f828ff6e84f786896aafc3d1 | |
parent | 3148a6192ef9d54c1eded7100238a3fa6b4c750d (diff) | |
download | poky-28b0c29594f5548379ccb514dff364dd758284fa.tar.gz |
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>
-rw-r--r-- | meta/recipes-connectivity/libpcap/libpcap.inc | 4 | ||||
-rw-r--r-- | meta/recipes-connectivity/libpcap/libpcap_1.1.1.bb | 2 |
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 \ | |||
10 | file://pcap.h;beginline=1;endline=34;md5=8d6cf7e17d5745010d633e30bc529ea9" | 10 | file://pcap.h;beginline=1;endline=34;md5=8d6cf7e17d5745010d633e30bc529ea9" |
11 | DEPENDS = "flex-native bison-native" | 11 | DEPENDS = "flex-native bison-native" |
12 | 12 | ||
13 | INC_PR = "r1" | ||
14 | |||
13 | SRC_URI = "http://www.tcpdump.org/release/libpcap-${PV}.tar.gz" | 15 | SRC_URI = "http://www.tcpdump.org/release/libpcap-${PV}.tar.gz" |
14 | 16 | ||
15 | inherit autotools | 17 | inherit autotools binconfig |
16 | 18 | ||
17 | EXTRA_OECONF = "--with-pcap=linux" | 19 | EXTRA_OECONF = "--with-pcap=linux" |
18 | 20 | ||
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 @@ | |||
1 | require libpcap.inc | 1 | require libpcap.inc |
2 | 2 | ||
3 | PR = "r0" | 3 | PR = "${INC_PR}.0" |
4 | 4 | ||
5 | SRC_URI += "file://aclocal.patch \ | 5 | SRC_URI += "file://aclocal.patch \ |
6 | file://ieee80215-arphrd.patch" | 6 | file://ieee80215-arphrd.patch" |