summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Kunze <thommycheck@gmx.de>2007-04-24 20:15:45 +0000
committerKoen Kooi <koen@openembedded.org>2007-04-24 20:15:45 +0000
commited8a6dd0ff4503b51e1eb2bf94cec518f2ba0fe2 (patch)
treecf28d0b0cf964c3e56d14453df16d5822363452d
parent55265299e06151563b0f8fb5f1207e3802e4c394 (diff)
base.bbclass: fix depency problem, closes #2137 (and some others)
-rw-r--r--classes/base.bbclass4
1 files changed, 3 insertions, 1 deletions
diff --git a/classes/base.bbclass b/classes/base.bbclass
index 1dd3a488b3..36ccbd6438 100644
--- a/classes/base.bbclass
+++ b/classes/base.bbclass
@@ -804,6 +804,8 @@ def base_after_parse(d):
if this_machine and not re.match(need_machine, this_machine):
raise bb.parse.SkipPackage("incompatible with machine %s" % this_machine)
+
+
pn = bb.data.getVar('PN', d, 1)
use_nls = bb.data.getVar('USE_NLS_%s' % pn, d, 1)
@@ -874,7 +876,7 @@ def base_oldbitbake_workarounds(d):
if bb.data.inherits_class('package_deb', d):
depends = "dpkg-native " + depends
if bb.data.inherits_class('package', d):
- depends = "${PACKAGE_DEPENDS} fakeroot-native" + depends
+ depends = "${PACKAGE_DEPENDS} fakeroot-native " + depends
bb.data.setVar('DEPENDS', depends, d)