From: Thomas Petazzoni Date: Mon, 3 Jul 2017 20:50:17 +0000 (+0200) Subject: kbd: use the new gettext logic X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=7b1b0bd0abbbbf44d0ef963f3df9348a1a2386ff;p=buildroot.git 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 --- 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