summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThomas Petazzoni <thomas.petazzoni@free-electrons.com>2017-07-03 22:47:09 +0200
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>2017-07-05 01:27:26 +0200
commit8447f0b277e2b5cf0690dd4fe2721fd3d6521f0f (patch)
tree85e75ff9d7cf93dd1349f73ec52a6b59a11b6728
parentd5441d46f66d18bf3e4c1db0a9cfc65d2491c7fe (diff)
downloadbuildroot-8447f0b277e2b5cf0690dd4fe2721fd3d6521f0f.tar.gz
buildroot-8447f0b277e2b5cf0690dd4fe2721fd3d6521f0f.zip
gnuchess: use the 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>
-rw-r--r--package/gnuchess/Config.in1
-rw-r--r--package/gnuchess/gnuchess.mk2
2 files changed, 1 insertions, 2 deletions
diff --git a/package/gnuchess/Config.in b/package/gnuchess/Config.in
index 4993b1adf0..aa446f4b22 100644
--- a/package/gnuchess/Config.in
+++ b/package/gnuchess/Config.in
@@ -3,7 +3,6 @@ config BR2_PACKAGE_GNUCHESS
depends on BR2_INSTALL_LIBSTDCPP
depends on BR2_TOOLCHAIN_HAS_THREADS
select BR2_PACKAGE_FLEX
- select BR2_PACKAGE_GETTEXT if BR2_NEEDS_GETTEXT_IF_LOCALE
help
GNU Chess lets most modern computers play a full game of chess.
diff --git a/package/gnuchess/gnuchess.mk b/package/gnuchess/gnuchess.mk
index 010336738d..1465ab0a00 100644
--- a/package/gnuchess/gnuchess.mk
+++ b/package/gnuchess/gnuchess.mk
@@ -11,6 +11,6 @@ GNUCHESS_LICENSE_FILES = COPYING
GNUCHESS_DEPENDENCIES = host-flex flex
GNUCHESS_DEPENDENCIES += $(if $(BR2_PACKAGE_READLINE),readline) \
- $(if $(BR2_NEEDS_GETTEXT_IF_LOCALE),gettext)
+ $(TARGET_NLS_DEPENDENCIES)
$(eval $(autotools-package))
OpenPOWER on IntegriCloud