From: Lianhao Lu Date: Fri, 5 Aug 2011 02:57:55 +0000 (+0800) Subject: qt4x11.bbclass: Using BPN instead of PN. X-Git-Tag: yocto-4.0~40136 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=32faad3b901345a31978664fd1743c9a1729c67d;p=thirdparty%2Fopenembedded%2Fopenembedded-core-contrib.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 abb1d9d2e40..ee2cdca3ad3 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