[oe] [meta-oe][PATCH] giflib: don't depend on libsm if x11 is unavailable
Andreas Oberritter
obi at opendreambox.org
Wed Feb 8 18:11:20 UTC 2012
Ping.
Patchwork URL: http://patches.openembedded.org/patch/20561/
On 02.02.2012 15:03, Andreas Oberritter wrote:
> If DISTRO_FEATURES doesn't contain x11, libsm is not available.
> As libsm is optional, the dependency is changed to be conditional.
> There's no need to alter configure flags, because without x11,
> libsm cannot be picked up accidentially. Because this just fixes
> a missing dependency failure without x11, no PR bump is required
> either.
>
> Signed-off-by: Andreas Oberritter <obi at opendreambox.org>
> ---
> meta-oe/recipes-devtools/giflib/giflib_4.1.6.bb | 2 +-
> 1 files changed, 1 insertions(+), 1 deletions(-)
>
> diff --git a/meta-oe/recipes-devtools/giflib/giflib_4.1.6.bb b/meta-oe/recipes-devtools/giflib/giflib_4.1.6.bb
> index bd7b495..4e782e2 100644
> --- a/meta-oe/recipes-devtools/giflib/giflib_4.1.6.bb
> +++ b/meta-oe/recipes-devtools/giflib/giflib_4.1.6.bb
> @@ -8,7 +8,7 @@ SRC_URI = "${SOURCEFORGE_MIRROR}/giflib/${BP}.tar.bz2"
>
> inherit autotools
>
> -DEPENDS = "libsm"
> +DEPENDS = "${@base_contains('DISTRO_FEATURES', 'x11', 'libsm', '', d)}"
>
> PACKAGES += "${PN}-utils"
> FILES_${PN} = "${libdir}/libgif.so.*"
More information about the Openembedded-devel
mailing list