From ed8a6dd0ff4503b51e1eb2bf94cec518f2ba0fe2 Mon Sep 17 00:00:00 2001 From: Thomas Kunze Date: Tue, 24 Apr 2007 20:15:45 +0000 Subject: base.bbclass: fix depency problem, closes #2137 (and some others) --- classes/base.bbclass | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'classes/base.bbclass') 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) -- cgit v1.2.3