From: Arnout Vandecappelle (Essensium/Mind) Date: Thu, 1 Nov 2012 04:35:39 +0000 (+0000) Subject: diffutils: only needs gettext if locale is selected X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=92358271b9eede8cb284fb42ea24cff48ec9c322;p=buildroot.git diffutils: only needs gettext if locale is selected Also add missing select in Config.in. Signed-off-by: Arnout Vandecappelle (Essensium/Mind) Acked-by: "Yann E. MORIN" Acked-by: Gustavo Zacarias Signed-off-by: Peter Korsgaard --- diff --git a/package/diffutils/Config.in b/package/diffutils/Config.in index 86da5d3a4f..4cc16e2127 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 168d040248..25307630a0 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