Patchwork [v2] guile: fix the depends for target recipes

login
register
mail settings
Submitter jackie huang
Date Jan. 6, 2014, 2:23 a.m.
Message ID <1388974989-4126-1-git-send-email-jackie.huang@windriver.com>
Download mbox | patch
Permalink /patch/64103/
State New
Headers show

Comments

jackie huang - Jan. 6, 2014, 2:23 a.m.
From: Jackie Huang <jackie.huang@windriver.com>

The depenency on guild-native and libatomics-ops is missing
in multilib build, fix the depends with class-target.

Signed-off-by: Jackie Huang <jackie.huang@windriver.com>
---
 meta/recipes-devtools/guile/guile_2.0.9.bb |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Patch

diff --git a/meta/recipes-devtools/guile/guile_2.0.9.bb b/meta/recipes-devtools/guile/guile_2.0.9.bb
index 4c3fe28..9845682 100644
--- a/meta/recipes-devtools/guile/guile_2.0.9.bb
+++ b/meta/recipes-devtools/guile/guile_2.0.9.bb
@@ -33,7 +33,7 @@  BBCLASSEXTEND = "native"
 
 DEPENDS = "libunistring bdwgc gmp libtool libffi"
 # add guile-native only to the target recipe's DEPENDS
-DEPENDS += "${@['guile-native libatomics-ops', ''][d.getVar('PN', True) != 'guile']}"
+DEPENDS_append_class-target = " guile-native libatomics-ops"
 
 RDEPENDS_${PN}_append_libc-glibc_class-target = "glibc-gconv-iso8859-1"