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

Koen Kooi k.kooi at student.utwente.nl
Fri Feb 20 17:54:30 UTC 2009


On 20-02-09 12:55, Ihar Hrachyshka wrote:
> 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"

Acked-by: Koen Kooi <koen at openembedded.org>





More information about the Openembedded-devel mailing list