diff options
author | Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be> | 2012-11-01 04:35:39 +0000 |
---|---|---|
committer | Peter Korsgaard <jacmet@sunsite.dk> | 2013-05-03 14:38:55 +0200 |
commit | 92358271b9eede8cb284fb42ea24cff48ec9c322 (patch) | |
tree | fdba17c9557e21508a2ddd7b7a08612b93d7b6b0 | |
parent | 12097e6e4e4f732d37203d7b025e599bfd930349 (diff) | |
download | buildroot-novena-92358271b9eede8cb284fb42ea24cff48ec9c322.tar.gz buildroot-novena-92358271b9eede8cb284fb42ea24cff48ec9c322.zip |
diffutils: only needs gettext if locale is selected
Also add missing select in Config.in.
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Acked-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Acked-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
-rw-r--r-- | package/diffutils/Config.in | 1 | ||||
-rw-r--r-- | 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 86da5d3a4..4cc16e212 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 168d04024..25307630a 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 |