From patchwork Thu May 3 01:55:26 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: [CONSOLIDATED, PULL, 07/36] libpcap: use PACKAGECONFIG for bluetooth distro feature Date: Thu, 03 May 2012 01:55:26 -0000 From: Saul Wold X-Patchwork-Id: 26889 Message-Id: To: openembedded-core@lists.openembedded.org From: Christopher Larson Signed-off-by: Christopher Larson --- meta/recipes-connectivity/libpcap/libpcap.inc | 5 ++++- 1 files changed, 4 insertions(+), 1 deletions(-) diff --git a/meta/recipes-connectivity/libpcap/libpcap.inc b/meta/recipes-connectivity/libpcap/libpcap.inc index 6051bbc..427078f 100644 --- a/meta/recipes-connectivity/libpcap/libpcap.inc +++ b/meta/recipes-connectivity/libpcap/libpcap.inc @@ -10,7 +10,10 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=1d4b0366557951c84a94fabe3529f867 \ file://pcap.h;beginline=1;endline=34;md5=8d6cf7e17d5745010d633e30bc529ea9" DEPENDS = "flex-native bison-native" -INC_PR = "r0" +PACKAGECONFIG ??= "${@base_contains('DISTRO_FEATURES', 'bluetooth', 'bluetooth', '', d)}" +PACKAGECONFIG[bluetooth] = "--enable-bluetooth,--disable-bluetooth,bluez4" + +INC_PR = "r1" SRC_URI = "http://www.tcpdump.org/release/libpcap-${PV}.tar.gz"