summaryrefslogtreecommitdiffstats
path: root/package/diffutils
diff options
context:
space:
mode:
authorThomas Petazzoni <thomas.petazzoni@free-electrons.com>2017-07-03 22:41:14 +0200
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>2017-07-05 01:27:24 +0200
commita1bc871b2d415a11ad798fe0299df92ee5bd2447 (patch)
tree4e1707305906227951ea9af6969a5448ba7b7125 /package/diffutils
parent252a3bccaa35641b355b76c55cdf390cf6333ceb (diff)
downloadbuildroot-a1bc871b2d415a11ad798fe0299df92ee5bd2447.tar.gz
buildroot-a1bc871b2d415a11ad798fe0299df92ee5bd2447.zip
diffutils: use new gettext logic
This commit switches to use the new gettext logic, which involves: - using TARGET_NLS_DEPENDENCIES instead of hand-encoded dependencies on gettext/host-gettext - dropping BR2_PACKAGE_GETTEXT selection Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Diffstat (limited to 'package/diffutils')
-rw-r--r--package/diffutils/Config.in1
-rw-r--r--package/diffutils/diffutils.mk2
2 files changed, 1 insertions, 2 deletions
diff --git a/package/diffutils/Config.in b/package/diffutils/Config.in
index 97cb38b8f8..3c38f25ffd 100644
--- a/package/diffutils/Config.in
+++ b/package/diffutils/Config.in
@@ -2,7 +2,6 @@ config BR2_PACKAGE_DIFFUTILS
bool "diffutils"
depends on BR2_USE_WCHAR
depends on BR2_PACKAGE_BUSYBOX_SHOW_OTHERS
- 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 4662e2bc3a..6e5b9b6744 100644
--- a/package/diffutils/diffutils.mk
+++ b/package/diffutils/diffutils.mk
@@ -7,7 +7,7 @@
DIFFUTILS_VERSION = 3.6
DIFFUTILS_SOURCE = diffutils-$(DIFFUTILS_VERSION).tar.xz
DIFFUTILS_SITE = $(BR2_GNU_MIRROR)/diffutils
-DIFFUTILS_DEPENDENCIES = $(if $(BR2_NEEDS_GETTEXT_IF_LOCALE),gettext)
+DIFFUTILS_DEPENDENCIES = $(TARGET_NLS_DEPENDENCIES)
DIFFUTILS_LICENSE = GPL-3.0+
DIFFUTILS_LICENSE_FILES = COPYING
OpenPOWER on IntegriCloud