qt4x11 bbclass: only match first 12 chars in automagical dependency adder
authorKoen Kooi <koen@openembedded.org>
Wed, 29 Jul 2009 08:17:20 +0000 (10:17 +0200)
committerKoen Kooi <koen@openembedded.org>
Wed, 29 Jul 2009 08:17:20 +0000 (10:17 +0200)
classes/qt4x11.bbclass

index 923717f..aa2e2a1 100644 (file)
@@ -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