From: Thomas Petazzoni Date: Mon, 3 Jul 2017 20:40:46 +0000 (+0200) Subject: clamav: use new gettext logic X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=c6882af6364819f38db7c67093b970778eea2170;p=buildroot.git clamav: 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 --- diff --git a/package/clamav/Config.in b/package/clamav/Config.in index a962103208..bc934ea452 100644 --- a/package/clamav/Config.in +++ b/package/clamav/Config.in @@ -2,7 +2,6 @@ config BR2_PACKAGE_CLAMAV bool "clamav" depends on BR2_TOOLCHAIN_HAS_THREADS depends on BR2_USE_MMU # fork() - select BR2_PACKAGE_GETTEXT if BR2_NEEDS_GETTEXT_IF_LOCALE select BR2_PACKAGE_LIBTOOL select BR2_PACKAGE_OPENSSL select BR2_PACKAGE_ZLIB diff --git a/package/clamav/clamav.mk b/package/clamav/clamav.mk index 23dee0a818..5429abb989 100644 --- a/package/clamav/clamav.mk +++ b/package/clamav/clamav.mk @@ -15,7 +15,7 @@ CLAMAV_DEPENDENCIES = \ libtool \ openssl \ zlib \ - $(if $(BR2_NEEDS_GETTEXT_IF_LOCALE),gettext) + $(TARGET_NLS_DEPENDENCIES) # mmap cannot be detected when cross-compiling, needed for mempool support CLAMAV_CONF_ENV = \