ecryptfs-utils: select gettext, needed for command line utilities

The ecryptfs-utils package requires the 'gettext' program, which is
provided by the gettext package, to get translated strings. This is
needed regardless of whether the toolchain uses glibc or uClibc.

This issue was reported by 'ausjke' on IRC.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
This commit is contained in:
Thomas Petazzoni 2014-08-16 15:47:21 +02:00 committed by Peter Korsgaard
parent 2bc3bca6d8
commit effe0beb1d

View File

@ -2,6 +2,10 @@ config BR2_PACKAGE_ECRYPTFS_UTILS
bool "ecryptfs-utils" bool "ecryptfs-utils"
select BR2_PACKAGE_KEYUTILS select BR2_PACKAGE_KEYUTILS
select BR2_PACKAGE_LIBNSS select BR2_PACKAGE_LIBNSS
# runtime dependency only, some scripts are using the
# 'gettext' program to get translations
select BR2_PACKAGE_GETTEXT
depends on BR2_USE_WCHAR # gettext
depends on BR2_USE_MMU # keyutils depends on BR2_USE_MMU # keyutils
depends on !BR2_avr32 && !BR2_microblaze # keyutils depends on !BR2_avr32 && !BR2_microblaze # keyutils
depends on BR2_LARGEFILE # libnss depends on BR2_LARGEFILE # libnss
@ -23,8 +27,8 @@ config BR2_PACKAGE_ECRYPTFS_UTILS
http://ecryptfs.org http://ecryptfs.org
comment "ecryptfs-utils needs a toolchain w/ largefile, threads" comment "ecryptfs-utils needs a toolchain w/ largefile, threads, wchar"
depends on !BR2_avr32 && !BR2_microblaze depends on !BR2_avr32 && !BR2_microblaze
depends on BR2_PACKAGE_LIBNSPR_ARCH_SUPPORT depends on BR2_PACKAGE_LIBNSPR_ARCH_SUPPORT
depends on BR2_USE_MMU depends on BR2_USE_MMU
depends on !BR2_LARGEFILE || !BR2_TOOLCHAIN_HAS_THREADS depends on !BR2_LARGEFILE || !BR2_TOOLCHAIN_HAS_THREADS || !BR2_USE_WCHAR