curlftpfs: use 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:
Thomas Petazzoni 2017-07-03 22:41:06 +02:00
parent eaf232dbd0
commit 252a3bccaa
2 changed files with 1 additions and 2 deletions

View file

@ -6,7 +6,6 @@ config BR2_PACKAGE_CURLFTPFS
depends on !BR2_STATIC_LIBS # libfuse
select BR2_PACKAGE_LIBFUSE
select BR2_PACKAGE_LIBGLIB2
select BR2_PACKAGE_GETTEXT if BR2_NEEDS_GETTEXT_IF_LOCALE
select BR2_PACKAGE_LIBICONV if !BR2_ENABLE_LOCALE
select BR2_PACKAGE_OPENSSL
select BR2_PACKAGE_LIBCURL

View file

@ -11,7 +11,7 @@ CURLFTPFS_LICENSE = GPL-2.0
CURLFTPFS_LICENSE_FILES = COPYING
CURLFTPFS_DEPENDENCIES = \
libglib2 libfuse openssl libcurl \
$(if $(BR2_NEEDS_GETTEXT_IF_LOCALE),gettext) \
$(TARGET_NLS_DEPENDENCIES) \
$(if $(BR2_ENABLE_LOCALE),,libiconv)
$(eval $(autotools-package))