[oe] [PATCH] Check if package provides qtopia-core not package name

Ihar Hrachyshka ihar.hrachyshka at gmail.com
Fri Feb 20 11:55:13 UTC 2009


This change fixes dependency loops for qtopia-core and qt-embedded.

Signed-off-by: Ihar Hrachyshka <ihar.hrachyshka at gmail.com>
---
 classes/qtopia4core.bbclass |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/classes/qtopia4core.bbclass b/classes/qtopia4core.bbclass
index b5f10fa..214232d 100644
--- a/classes/qtopia4core.bbclass
+++ b/classes/qtopia4core.bbclass
@@ -1,4 +1,4 @@
-DEPENDS_prepend = "${@["qtopia-core ", ""][(bb.data.getVar('PN', d, 1) == 'qtopia-core')]}"
+DEPENDS_prepend = "${@["qtopia-core ", ""]['qtopia-core' in bb.data.getVar('PROVIDES', d, 1)]}"
 inherit qmake2
 
 QT_DIR_NAME = "qtopia"
-- 
1.5.6.3





More information about the Openembedded-devel mailing list