aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Thomas Petazzoni <thomas.petazzoni@free-electrons.com>2017-07-03 22:40:46 +0200
committerGravatar Thomas Petazzoni <thomas.petazzoni@free-electrons.com>2017-07-05 01:27:24 +0200
commitc6882af6364819f38db7c67093b970778eea2170 (patch)
treef66e94243030f7920273ded96f3855f65b7360df
parent76b815514f4d4c6703d4369b50f816a2a99e0abc (diff)
downloadbuildroot-c6882af6364819f38db7c67093b970778eea2170.tar.gz
buildroot-c6882af6364819f38db7c67093b970778eea2170.tar.bz2
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 <thomas.petazzoni@free-electrons.com>
-rw-r--r--package/clamav/Config.in1
-rw-r--r--package/clamav/clamav.mk2
2 files changed, 1 insertions, 2 deletions
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 = \