From patchwork Sun Oct 14 21:09:36 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Arnout Vandecappelle X-Patchwork-Id: 191424 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 E31092C0097 for ; Mon, 15 Oct 2012 08:09:42 +1100 (EST) Received: from localhost (localhost [127.0.0.1]) by silver.osuosl.org (Postfix) with ESMTP id DC4531FE3D; Sun, 14 Oct 2012 21:09:41 +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 6H8aKv5i3J44; Sun, 14 Oct 2012 21:09:41 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by silver.osuosl.org (Postfix) with ESMTP id C6CC21FDA2; Sun, 14 Oct 2012 21:09:40 +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 D6B648F74A for ; Sun, 14 Oct 2012 21:09:42 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id F174D81938 for ; Sun, 14 Oct 2012 21:09:39 +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 g515iUA8TO0c for ; Sun, 14 Oct 2012 21:09:38 +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 B132E818C3 for ; Sun, 14 Oct 2012 21:09:38 +0000 (UTC) Received: from [172.16.2.6] (helo=vandecaa-laptop) by viper.mind.be with esmtp (Exim 4.69) (envelope-from ) id 1TNVRI-0008Az-Q2 for buildroot@busybox.net; Sun, 14 Oct 2012 23:09:37 +0200 Received: from localhost ([127.0.0.1]) by vandecaa-laptop with esmtp (Exim 4.80) (envelope-from ) id 1TNVRI-0004nu-DE for buildroot@busybox.net; Sun, 14 Oct 2012 23:09:36 +0200 To: buildroot@busybox.net From: "Arnout Vandecappelle \(Essensium/Mind\)" Date: Sun, 14 Oct 2012 23:09:36 +0200 Message-ID: <20121014210912.17845.32770.stgit@localhost> In-Reply-To: <20121014210734.17845.64519.stgit@localhost> References: <20121014210734.17845.64519.stgit@localhost> User-Agent: StGit/0.15 MIME-Version: 1.0 Subject: [Buildroot] [PATCH 01/10] 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 Also add missing select in Config.in. Signed-off-by: Arnout Vandecappelle (Essensium/Mind) Acked-by: "Yann E. MORIN" --- 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