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>
This commit is contained in:
parent
d5441d46f6
commit
8447f0b277
@ -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.
|
||||
|
||||
|
@ -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))
|
||||
|
Loading…
Reference in New Issue
Block a user