From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail.dream-property.net ([82.149.226.172]) by linuxtogo.org with esmtp (Exim 4.72) (envelope-from ) id 1RsxO3-0002oI-9g for openembedded-devel@lists.openembedded.org; Thu, 02 Feb 2012 15:11:43 +0100 Received: from localhost (localhost [127.0.0.1]) by mail.dream-property.net (Postfix) with ESMTP id F21A9315879B for ; Thu, 2 Feb 2012 15:03:46 +0100 (CET) X-Virus-Scanned: Debian amavisd-new at mail.dream-property.net Received: from mail.dream-property.net ([127.0.0.1]) by localhost (mail.dream-property.net [127.0.0.1]) (amavisd-new, port 10024) with LMTP id ibvYV41do6Df for ; Thu, 2 Feb 2012 15:03:37 +0100 (CET) Received: from [172.22.22.61] (drms-4d0158ce.pool.mediaWays.net [77.1.88.206]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.dream-property.net (Postfix) with ESMTPSA id 194123158799 for ; Thu, 2 Feb 2012 15:03:37 +0100 (CET) Message-ID: <4F2A97B7.2080709@opendreambox.org> Date: Thu, 02 Feb 2012 15:03:35 +0100 From: Andreas Oberritter User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:9.0) Gecko/20111229 Thunderbird/9.0 MIME-Version: 1.0 To: openembedded-devel@lists.openembedded.org Subject: [meta-oe][PATCH] giflib: don't depend on libsm if x11 is unavailable X-BeenThere: openembedded-devel@lists.openembedded.org X-Mailman-Version: 2.1.11 Precedence: list Reply-To: openembedded-devel@lists.openembedded.org List-Id: Using the OpenEmbedded metadata to build Distributions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 02 Feb 2012 14:11:43 -0000 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit 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 --- 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