[OE-core] [PATCH 6/8] util-macros: fix DEPENDS in the case of native/nativesdk

Saul Wold sgw at linux.intel.com
Tue Mar 8 00:29:34 UTC 2011


From: Dexuan Cui <dexuan.cui at intel.com>

This fixes [YOCTO #814]

Without the line fixing nativesdk, bitbake meta-toolchain-gmae would
get the following:

Missing or unbuildable dependency chain was: ['meta-toolchain-gmae', 'task-sdk-host', 'qemu-nativesdk', 'libsdl-nativesdk', 'libx11-nativesdk', 'util-macros-nativesdk', 'libgpg-error-nativesdk']
ERROR: Nothing PROVIDES 'libgpg-error-nativesdk'

[sgw: inherit gettext]
Signed-off-by: Dexuan Cui <dexuan.cui at intel.com>
Signed-off-by: Lianhao Lu <lianhao.lu at intel.com>
Signed-off-by: Saul Wold <sgw at linux.intel.com>
---
 .../xorg-util/util-macros_1.11.0.bb                |    5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/meta/recipes-graphics/xorg-util/util-macros_1.11.0.bb b/meta/recipes-graphics/xorg-util/util-macros_1.11.0.bb
index 2bfe514..10de96c 100644
--- a/meta/recipes-graphics/xorg-util/util-macros_1.11.0.bb
+++ b/meta/recipes-graphics/xorg-util/util-macros_1.11.0.bb
@@ -11,12 +11,13 @@ PE = "1"
 PR = "r0"
 
 # ${PN} is empty so we need to tweak -dev and -dbg package dependencies
-DEPENDS = "gettext libgpg-error"
-DEPENDS_virtclass-native = "gettext"
+DEPENDS = "libgpg-error"
 
 RDEPENDS_${PN}-dev = ""
 RRECOMMENDS_${PN}-dbg = "${PN}-dev (= ${EXTENDPV})"
 
+inherit gettext
+
 BBCLASSEXTEND = "native nativesdk"
 
 SRC_URI[md5sum] = "8580021f3a9e242ab09d23d62e475d53"
-- 
1.7.1.1





More information about the Openembedded-core mailing list