[oe] [meta-oe][PATCH] mariadb-native: fix dependencies

Paul Eggleton paul.eggleton at linux.intel.com
Mon Dec 30 18:26:20 UTC 2013


Hi Martin,

On Monday 30 December 2013 15:54:19 Martin Jansa wrote:
> * unlike BBCLASSEXTENDed native support, dependencies in mariadb-native
> don't get automatic -native suffix, so mariadb-native was depending on
> target ncurses and zlib. * move the dependency from .inc and apply it with
> right suffix
> 
> Signed-off-by: Martin Jansa <Martin.Jansa at gmail.com>
> ---
>  meta-oe/recipes-support/mysql/mariadb-native_5.1.67.bb | 1 +
>  meta-oe/recipes-support/mysql/mariadb_5.1.67.bb        | 2 +-
>  meta-oe/recipes-support/mysql/mariadb_5.1.67.inc       | 2 --
>  3 files changed, 2 insertions(+), 3 deletions(-)
> 
> diff --git a/meta-oe/recipes-support/mysql/mariadb-native_5.1.67.bb
> b/meta-oe/recipes-support/mysql/mariadb-native_5.1.67.bb index
> e8382e2..15605d0 100644
> --- a/meta-oe/recipes-support/mysql/mariadb-native_5.1.67.bb
> +++ b/meta-oe/recipes-support/mysql/mariadb-native_5.1.67.bb
> @@ -2,6 +2,7 @@ require mariadb_${PV}.inc
>  inherit native
> 
>  PROVIDES += "mysql5-native"
> +DEPENDS = "ncurses-native zlib-native"
> 
>  RDEPENDS_${PN} = ""
>  PACKAGES = ""
> diff --git a/meta-oe/recipes-support/mysql/mariadb_5.1.67.bb
> b/meta-oe/recipes-support/mysql/mariadb_5.1.67.bb index fc499d4..3b15c00
> 100644
> --- a/meta-oe/recipes-support/mysql/mariadb_5.1.67.bb
> +++ b/meta-oe/recipes-support/mysql/mariadb_5.1.67.bb
> @@ -1,6 +1,6 @@
>  require ${PN}_${PV}.inc
> 
> -DEPENDS += "mariadb-native"
> +DEPENDS += "mariadb-native ncurses-native zlib-native"

I'm not following this - does the target version really need ncurses-native 
and zlib-native?

Cheers,
Paul

-- 

Paul Eggleton
Intel Open Source Technology Centre



More information about the Openembedded-devel mailing list