Openembedded Devel Discussions
 help / color / mirror / Atom feed
* [meta-oe][PATCH] giflib: don't depend on libsm if x11 is unavailable
@ 2012-02-02 14:03 Andreas Oberritter
  2012-02-08 18:11 ` Andreas Oberritter
  2012-02-08 18:41 ` Otavio Salvador
  0 siblings, 2 replies; 12+ messages in thread
From: Andreas Oberritter @ 2012-02-02 14:03 UTC (permalink / raw)
  To: openembedded-devel

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@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.*"
-- 
1.7.5.4





^ permalink raw reply related	[flat|nested] 12+ messages in thread

end of thread, other threads:[~2012-02-09 19:40 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-02-02 14:03 [meta-oe][PATCH] giflib: don't depend on libsm if x11 is unavailable Andreas Oberritter
2012-02-08 18:11 ` Andreas Oberritter
2012-02-08 18:41 ` Otavio Salvador
2012-02-08 19:35   ` Andreas Oberritter
2012-02-08 19:48     ` Otavio Salvador
2012-02-09  0:54       ` Andreas Oberritter
2012-02-09 12:41         ` [meta-oe][PATCH] giflib: don't link against libx11, don't depend on libsm Andreas Oberritter
2012-02-09 12:47           ` Otavio Salvador
2012-02-09 13:55           ` Paul Eggleton
2012-02-09 14:02           ` Paul Eggleton
2012-02-09 19:32             ` Henning Heinold
2012-02-09 18:50           ` Koen Kooi

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox