[oe-commits] Koen Kooi : qt4x11 bbclass: only match first 12 chars in automagical dependency adder

git version control git at git.openembedded.org
Wed Jul 29 10:35:34 UTC 2009


Module: openembedded.git
Branch: org.openembedded.dev
Commit: 6664caa93967e81bfeefe8a87a265565b8e32abb
URL:    http://gitweb.openembedded.net/?p=openembedded.git&a=commit;h=6664caa93967e81bfeefe8a87a265565b8e32abb

Author: Koen Kooi <koen at openembedded.org>
Date:   Wed Jul 29 10:17:20 2009 +0200

qt4x11 bbclass: only match first 12 chars in automagical dependency adder

---

 classes/qt4x11.bbclass |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/classes/qt4x11.bbclass b/classes/qt4x11.bbclass
index 923717f..aa2e2a1 100644
--- a/classes/qt4x11.bbclass
+++ b/classes/qt4x11.bbclass
@@ -1,4 +1,4 @@
-DEPENDS_prepend = "${@["qt4x11 ", ""][(bb.data.getVar('PN', d, 1) == 'qt4-x11-free')]}"
+DEPENDS_prepend = "${@["qt4x11 ", ""][(bb.data.getVar('PN', d, 1)[:12] == 'qt4-x11-free')]}"
 
 inherit qmake2
 





More information about the Openembedded-commits mailing list