From 7b1b0bd0abbbbf44d0ef963f3df9348a1a2386ff Mon Sep 17 00:00:00 2001 From: Thomas Petazzoni Date: Mon, 3 Jul 2017 22:50:17 +0200 Subject: [PATCH] kbd: 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 --- package/kbd/Config.in | 1 - package/kbd/kbd.mk | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/package/kbd/Config.in b/package/kbd/Config.in index ab1f1b3100..6cf2fc0dc6 100644 --- a/package/kbd/Config.in +++ b/package/kbd/Config.in @@ -2,7 +2,6 @@ config BR2_PACKAGE_KBD bool "kbd" # Uses fork() depends on BR2_USE_MMU - select BR2_PACKAGE_GETTEXT if BR2_NEEDS_GETTEXT_IF_LOCALE help Keytable files and keyboard utilities. diff --git a/package/kbd/kbd.mk b/package/kbd/kbd.mk index 175a2374d8..a4873f3a08 100644 --- a/package/kbd/kbd.mk +++ b/package/kbd/kbd.mk @@ -11,7 +11,7 @@ KBD_CONF_OPTS = \ --disable-vlock \ --disable-tests KBD_DEPENDENCIES = \ - $(if $(BR2_NEEDS_GETTEXT_IF_LOCALE),gettext) \ + $(TARGET_NLS_DEPENDENCIES) \ host-pkgconf KBD_LICENSE = GPL-2.0+ KBD_LICENSE_FILES = COPYING -- 2.30.2