From patchwork Thu Nov 1 14:35:39 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Arnout Vandecappelle X-Patchwork-Id: 196231 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from silver.osuosl.org (silver.osuosl.org [140.211.166.136]) by ozlabs.org (Postfix) with ESMTP id E25372C030C for ; Fri, 2 Nov 2012 01:35:48 +1100 (EST) Received: from localhost (localhost [127.0.0.1]) by silver.osuosl.org (Postfix) with ESMTP id 5799A31249; Thu, 1 Nov 2012 14:35:47 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from silver.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id CZ9LYGcPNOyj; Thu, 1 Nov 2012 14:35:46 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by silver.osuosl.org (Postfix) with ESMTP id 3448E31242; Thu, 1 Nov 2012 14:35:46 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from whitealder.osuosl.org (whitealder.osuosl.org [140.211.166.138]) by ash.osuosl.org (Postfix) with ESMTP id C9F558F74A for ; Thu, 1 Nov 2012 14:35:48 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id 0E4358C341 for ; Thu, 1 Nov 2012 14:35:45 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from whitealder.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id ctUjE4Zt9Cla for ; Thu, 1 Nov 2012 14:35:44 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from viper.mind.be (132.79-246-81.adsl-static.isp.belgacom.be [81.246.79.132]) by whitealder.osuosl.org (Postfix) with ESMTPS id 2FE0F8C336 for ; Thu, 1 Nov 2012 14:35:44 +0000 (UTC) Received: from [172.16.2.6] (helo=vandecaa-laptop) by viper.mind.be with esmtp (Exim 4.69) (envelope-from ) id 1TTvrx-0002Go-Tj for buildroot@busybox.net; Thu, 01 Nov 2012 15:35:42 +0100 Received: from localhost ([127.0.0.1]) by vandecaa-laptop with esmtp (Exim 4.80) (envelope-from ) id 1TTvrv-0002En-JI for buildroot@busybox.net; Thu, 01 Nov 2012 15:35:39 +0100 To: buildroot@busybox.net From: "Arnout Vandecappelle \(Essensium/Mind\)" Date: Thu, 01 Nov 2012 15:35:39 +0100 Message-ID: <20121101143539.8550.70150.stgit@localhost> User-Agent: StGit/0.15 MIME-Version: 1.0 Subject: [Buildroot] [PATCH 3 1/9] diffutils: only needs gettext if locale is selected X-BeenThere: buildroot@busybox.net X-Mailman-Version: 2.1.14 Precedence: list List-Id: Discussion and development of buildroot List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: buildroot-bounces@busybox.net Sender: buildroot-bounces@busybox.net From: Arnout Vandecappelle (Essensium/Mind) Also add missing select in Config.in. Signed-off-by: Arnout Vandecappelle (Essensium/Mind) Acked-by: "Yann E. MORIN" Acked-by: Gustavo Zacarias --- package/diffutils/Config.in | 1 + package/diffutils/diffutils.mk | 3 +-- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package/diffutils/Config.in b/package/diffutils/Config.in index 86da5d3..4cc16e2 100644 --- a/package/diffutils/Config.in +++ b/package/diffutils/Config.in @@ -1,6 +1,7 @@ config BR2_PACKAGE_DIFFUTILS bool"diffutils" depends on BR2_USE_WCHAR + select BR2_PACKAGE_GETTEXT if BR2_NEEDS_GETTEXT_IF_LOCALE help GNU diff. Compare files per line. diff --git a/package/diffutils/diffutils.mk b/package/diffutils/diffutils.mk index 168d040..2530763 100644 --- a/package/diffutils/diffutils.mk +++ b/package/diffutils/diffutils.mk @@ -6,8 +6,7 @@ DIFFUTILS_VERSION = 3.2 DIFFUTILS_SITE = $(BR2_GNU_MIRROR)/diffutils -DIFFUTILS_DEPENDENCIES = \ - $(if $(BR2_PACKAGE_GETTEXT),gettext) +DIFFUTILS_DEPENDENCIES = $(if $(BR2_NEEDS_GETTEXT_IF_LOCALE),gettext) ifeq ($(BR2_PACKAGE_BUSYBOX),y) DIFFUTILS_DEPENDENCIES += busybox