Patchwork [3/6] qt4x11.bbclass: Using BPN instead of PN.

login
register
mail settings
Submitter Lianhao Lu
Date Aug. 5, 2011, 10:37 a.m.
Message ID <a514208c6a630b48d3fa710d2e5abb87743aac5b.1312540193.git.lianhao.lu@intel.com>
Download mbox | patch
Permalink /patch/9355/
State New, archived
Headers show

Comments

Lianhao Lu - Aug. 5, 2011, 10:37 a.m.
[YOCTO #1335] Using BPN instead of BP to decide the DEPENDS content for
multilib cases.

Signed-off-by: Lianhao Lu <lianhao.lu@intel.com>
---
 meta/classes/qt4x11.bbclass |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

Patch

diff --git a/meta/classes/qt4x11.bbclass b/meta/classes/qt4x11.bbclass
index abb1d9d..ee2cdca 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