From: Lianhao Lu Date: Fri, 5 Aug 2011 02:57:55 +0000 (+0800) Subject: qt4x11.bbclass: Using BPN instead of PN. X-Git-Tag: 2011-1~436 X-Git-Url: https://code.ossystems.io/gitweb?a=commitdiff_plain;h=32faad3b901345a31978664fd1743c9a1729c67d;p=openembedded-core.git qt4x11.bbclass: Using BPN instead of PN. [YOCTO #1335] Using BPN instead of BP to decide the DEPENDS content for multilib cases. Signed-off-by: Lianhao Lu --- diff --git a/meta/classes/qt4x11.bbclass b/meta/classes/qt4x11.bbclass index abb1d9d2e4..ee2cdca3ad 100644 --- a/meta/classes/qt4x11.bbclass +++ b/meta/classes/qt4x11.bbclass @@ -1,4 +1,4 @@ -DEPENDS_prepend = "${@["qt4-x11-free ", ""][(bb.data.getVar('PN', d, 1)[:12] == 'qt4-x11-free')]}" +DEPENDS_prepend = "${@["qt4-x11-free ", ""][(bb.data.getVar('BPN', d, True)[:12] == 'qt4-x11-free')]}" inherit qmake2