Openembedded Core Discussions
 help / color / mirror / Atom feed
* [PATCH] libpcap: use binconfig class to deploy pcap-config
@ 2011-11-16 22:05 Jan Luebbe
  2011-11-18 14:28 ` Richard Purdie
  0 siblings, 1 reply; 2+ messages in thread
From: Jan Luebbe @ 2011-11-16 22:05 UTC (permalink / raw)
  To: openembedded-core

This fixes building of tcpdump on hosts where libpcap-dev is installed.
Also introduce INC_PR.

Signed-off-by: Jan Luebbe <jluebbe@debian.org>
---
 meta/recipes-connectivity/libpcap/libpcap.inc      |    4 +++-
 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 2737dbe..84001e5 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 de04290..2700bb7 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"
-- 
1.7.7.2




^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] libpcap: use binconfig class to deploy pcap-config
  2011-11-16 22:05 [PATCH] libpcap: use binconfig class to deploy pcap-config Jan Luebbe
@ 2011-11-18 14:28 ` Richard Purdie
  0 siblings, 0 replies; 2+ messages in thread
From: Richard Purdie @ 2011-11-18 14:28 UTC (permalink / raw)
  To: Patches and discussions about the oe-core layer

On Wed, 2011-11-16 at 23:05 +0100, Jan Luebbe wrote:
> This fixes building of tcpdump on hosts where libpcap-dev is installed.
> Also introduce INC_PR.
> 
> Signed-off-by: Jan Luebbe <jluebbe@debian.org>
> ---
>  meta/recipes-connectivity/libpcap/libpcap.inc      |    4 +++-
>  meta/recipes-connectivity/libpcap/libpcap_1.1.1.bb |    2 +-
>  2 files changed, 4 insertions(+), 2 deletions(-)

Merged to master, thanks.

Richard




^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2011-11-18 14:35 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-11-16 22:05 [PATCH] libpcap: use binconfig class to deploy pcap-config Jan Luebbe
2011-11-18 14:28 ` Richard Purdie

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox