]> code.ossystems Code Review - openembedded-core.git/commit
libpcap: Turn canusb support into PACKAGECONFIG
authorKhem Raj <raj.khem@gmail.com>
Thu, 24 Jan 2013 02:29:44 +0000 (18:29 -0800)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Fri, 25 Jan 2013 14:22:38 +0000 (14:22 +0000)
commita7cfc0ce9885c51ccefcaba001e6672d7b3e36e5
treea45fe3feadc393c49e594db54008420f98001dc4
parentc66a269f6f68d670ca3bf9e7b22a5dce4bb95cd0
libpcap: Turn canusb support into PACKAGECONFIG

libpcap notices libusb in its configure if its sysrooted
and ignores it if its not. But this causes problems since
there is no explicit dependency on libusb. Rebuild from shared
state sometimes fails when libusb has not been yet populated
in sysroot and libpcap has. And do_configure of consumers of libpcap e.g. tcpdump
are probing for features on libpcap. All the tests fail since
none of link steps succeed and it sees as if libpcap does
not have required features and configure of tcpdump bails out.

turn canusb into PACKAGECONFIG and let it be disabled
by default.

Backport additional patches needed for disable-canusb to work

Signed-off-by: Khem Raj <raj.khem@gmail.com>
meta/recipes-connectivity/libpcap/libpcap-1.3.0/0001-Fix-disable-canusb.patch [new file with mode: 0644]
meta/recipes-connectivity/libpcap/libpcap-1.3.0/0001-The-leading-comma-looked-weird-remove-it.patch [new file with mode: 0644]
meta/recipes-connectivity/libpcap/libpcap-1.3.0/0001-canusb-needs-lpthread.patch [new file with mode: 0644]
meta/recipes-connectivity/libpcap/libpcap.inc
meta/recipes-connectivity/libpcap/libpcap_1.3.0.bb