diff options
| author | Armin Kuster <akuster808@gmail.com> | 2015-02-13 08:49:55 -0800 |
|---|---|---|
| committer | Joe MacDonald <joe_macdonald@mentor.com> | 2015-02-23 13:26:24 -0500 |
| commit | 50845d9066de536338f0282454d3ed7c47138346 (patch) | |
| tree | 805fcbf9b0b03dca1f1586d4d441789fcaf6ff00 | |
| parent | 050486a0931baee317ada075f63ace12970aad47 (diff) | |
| download | meta-openembedded-50845d9066de536338f0282454d3ed7c47138346.tar.gz | |
wireshark: fix pcap-config issue
configure: error: Header file pcap.h not found; if you installed libpcap
don't use pcap. Use the internal version.
And minor configure cleanups
Signed-off-by: Armin Kuster <akuster808@gmail.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Joe MacDonald <joe_macdonald@mentor.com>
| -rw-r--r-- | meta-networking/recipes-support/wireshark/wireshark_1.12.3.bb | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/meta-networking/recipes-support/wireshark/wireshark_1.12.3.bb b/meta-networking/recipes-support/wireshark/wireshark_1.12.3.bb index 7604bd7ff9..f16d0f68fa 100644 --- a/meta-networking/recipes-support/wireshark/wireshark_1.12.3.bb +++ b/meta-networking/recipes-support/wireshark/wireshark_1.12.3.bb | |||
| @@ -4,7 +4,7 @@ SECTION = "network" | |||
| 4 | LICENSE = "GPL-2.0" | 4 | LICENSE = "GPL-2.0" |
| 5 | LIC_FILES_CHKSUM = "file://README.linux;md5=631e077455b7972172eb149195e065b0" | 5 | LIC_FILES_CHKSUM = "file://README.linux;md5=631e077455b7972172eb149195e065b0" |
| 6 | 6 | ||
| 7 | DEPENDS = "perl-native libcap libpcap pcre expat glib-2.0 sbc" | 7 | DEPENDS = "perl-native pcre expat glib-2.0 sbc" |
| 8 | 8 | ||
| 9 | SRC_URI = " \ | 9 | SRC_URI = " \ |
| 10 | http://wiresharkdownloads.riverbed.com/wireshark/src/wireshark-${PV}.tar.bz2 \ | 10 | http://wiresharkdownloads.riverbed.com/wireshark/src/wireshark-${PV}.tar.bz2 \ |
| @@ -23,10 +23,11 @@ ARM_INSTRUCTION_SET = "arm" | |||
| 23 | # Works with either gtk+ or gtk3. | 23 | # Works with either gtk+ or gtk3. |
| 24 | WHICH_GTK = "gtk3" | 24 | WHICH_GTK = "gtk3" |
| 25 | 25 | ||
| 26 | PACKAGECONFIG ??= "gnutls gcrypt libnl" | 26 | PACKAGECONFIG ??= "libcap gnutls libnl" |
| 27 | PACKAGECONFIG += " ${@bb.utils.contains("DISTRO_FEATURES", "x11", "${WHICH_GTK} graphics", "", d)}" | 27 | PACKAGECONFIG += " ${@bb.utils.contains("DISTRO_FEATURES", "x11", "${WHICH_GTK} graphics", "", d)}" |
| 28 | PACKAGECONFIG += " ${@bb.utils.contains("DISTRO_FEATURES", "ipv6", "ipv6", "", d)}" | 28 | PACKAGECONFIG += " ${@bb.utils.contains("DISTRO_FEATURES", "ipv6", "ipv6", "", d)}" |
| 29 | 29 | ||
| 30 | PACKAGECONFIG[libcap] = "--with-libcap=${STAGING_DIR_HOST}, --with-libcap=no, libcap" | ||
| 30 | PACKAGECONFIG[libsmi] = "--with-libsmi=yes, --with-libsmi=no, libsmi" | 31 | PACKAGECONFIG[libsmi] = "--with-libsmi=yes, --with-libsmi=no, libsmi" |
| 31 | PACKAGECONFIG[libnl] = "--with-libnl=yes, --with-libnl=no, libnl" | 32 | PACKAGECONFIG[libnl] = "--with-libnl=yes, --with-libnl=no, libnl" |
| 32 | PACKAGECONFIG[portaudio] = "--with-portaudio=yes, --with-portaudio=no, portaudio-v19" | 33 | PACKAGECONFIG[portaudio] = "--with-portaudio=yes, --with-portaudio=no, portaudio-v19" |
| @@ -45,7 +46,7 @@ PACKAGECONFIG[geoip] = "--with-geoip=yes, --with-geoip=no, geoip" | |||
| 45 | PACKAGECONFIG[adns] = "--with-adns=yes, --with-adns=no, adns" | 46 | PACKAGECONFIG[adns] = "--with-adns=yes, --with-adns=no, adns" |
| 46 | PACKAGECONFIG[c-ares] = "--with-c-ares=yes, --with-c-ares=no, c-ares" | 47 | PACKAGECONFIG[c-ares] = "--with-c-ares=yes, --with-c-ares=no, c-ares" |
| 47 | 48 | ||
| 48 | EXTRA_OECONF = "--with-qt=no --enable-usr-local=no --enable-tshark" | 49 | EXTRA_OECONF += "--with-qt=no --enable-usr-local=no --enable-tshark --with-pcap=no --enable-pcap-ng-default" |
| 49 | 50 | ||
| 50 | do_configure_prepend() { | 51 | do_configure_prepend() { |
| 51 | # force to use fallback | 52 | # force to use fallback |
