Patchwork [meta-oe] ltrace: add PV and PACKAGECONFIG for libunwind

login
register
mail settings
Submitter Martin Jansa
Date Aug. 5, 2014, 11:14 a.m.
Message ID <1407237282-24497-1-git-send-email-Martin.Jansa@gmail.com>
Download mbox | patch
Permalink /patch/77289/
State Accepted, archived
Headers show

Comments

Martin Jansa - Aug. 5, 2014, 11:14 a.m.
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
---
 .../ltrace/{ltrace-git => ltrace}/ltrace-0.7.2-unused-typedef.patch    | 0
 meta-oe/recipes-devtools/ltrace/ltrace_git.bb                          | 3 +++
 2 files changed, 3 insertions(+)
 rename meta-oe/recipes-devtools/ltrace/{ltrace-git => ltrace}/ltrace-0.7.2-unused-typedef.patch (100%)
Martin Jansa - Aug. 6, 2014, 6:37 p.m.
On Tue, Aug 05, 2014 at 01:14:42PM +0200, Martin Jansa wrote:
> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
> ---
>  .../ltrace/{ltrace-git => ltrace}/ltrace-0.7.2-unused-typedef.patch    | 0
>  meta-oe/recipes-devtools/ltrace/ltrace_git.bb                          | 3 +++
>  2 files changed, 3 insertions(+)
>  rename meta-oe/recipes-devtools/ltrace/{ltrace-git => ltrace}/ltrace-0.7.2-unused-typedef.patch (100%)
> 
> diff --git a/meta-oe/recipes-devtools/ltrace/ltrace-git/ltrace-0.7.2-unused-typedef.patch b/meta-oe/recipes-devtools/ltrace/ltrace/ltrace-0.7.2-unused-typedef.patch
> similarity index 100%
> rename from meta-oe/recipes-devtools/ltrace/ltrace-git/ltrace-0.7.2-unused-typedef.patch
> rename to meta-oe/recipes-devtools/ltrace/ltrace/ltrace-0.7.2-unused-typedef.patch
> diff --git a/meta-oe/recipes-devtools/ltrace/ltrace_git.bb b/meta-oe/recipes-devtools/ltrace/ltrace_git.bb
> index 89f760a..77790b5 100644
> --- a/meta-oe/recipes-devtools/ltrace/ltrace_git.bb
> +++ b/meta-oe/recipes-devtools/ltrace/ltrace_git.bb
> @@ -9,6 +9,7 @@ HOMEPAGE = "http://ltrace.org/"
>  LICENSE = "GPLv2"
>  LIC_FILES_CHKSUM = "file://COPYING;md5=eb723b61539feef013de476e68b5c50a"
>  
> +PV = "7.2+git${SRCPV}"

I'll bump PE to prevent version going backwards.

>  SRCREV = "f44b28421979cec88d6d6a778fc27a8cd514f508"
>  
>  DEPENDS = "elfutils"
> @@ -20,6 +21,8 @@ S = "${WORKDIR}/git"
>  
>  inherit autotools
>  
> +PACKAGECONFIG[unwind] = "--with-libunwind,--without-libunwind,libunwind"
> +
>  do_configure_prepend () {
>  	( cd ${S}; ./autogen.sh )
>  }
> -- 
> 2.0.4
>

Patch

diff --git a/meta-oe/recipes-devtools/ltrace/ltrace-git/ltrace-0.7.2-unused-typedef.patch b/meta-oe/recipes-devtools/ltrace/ltrace/ltrace-0.7.2-unused-typedef.patch
similarity index 100%
rename from meta-oe/recipes-devtools/ltrace/ltrace-git/ltrace-0.7.2-unused-typedef.patch
rename to meta-oe/recipes-devtools/ltrace/ltrace/ltrace-0.7.2-unused-typedef.patch
diff --git a/meta-oe/recipes-devtools/ltrace/ltrace_git.bb b/meta-oe/recipes-devtools/ltrace/ltrace_git.bb
index 89f760a..77790b5 100644
--- a/meta-oe/recipes-devtools/ltrace/ltrace_git.bb
+++ b/meta-oe/recipes-devtools/ltrace/ltrace_git.bb
@@ -9,6 +9,7 @@  HOMEPAGE = "http://ltrace.org/"
 LICENSE = "GPLv2"
 LIC_FILES_CHKSUM = "file://COPYING;md5=eb723b61539feef013de476e68b5c50a"
 
+PV = "7.2+git${SRCPV}"
 SRCREV = "f44b28421979cec88d6d6a778fc27a8cd514f508"
 
 DEPENDS = "elfutils"
@@ -20,6 +21,8 @@  S = "${WORKDIR}/git"
 
 inherit autotools
 
+PACKAGECONFIG[unwind] = "--with-libunwind,--without-libunwind,libunwind"
+
 do_configure_prepend () {
 	( cd ${S}; ./autogen.sh )
 }