fetchmail: 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.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
This commit is contained in:
Thomas Petazzoni 2017-07-04 12:19:02 +02:00
parent cdc194883f
commit 39ec557f2d

View File

@ -24,12 +24,8 @@ FETCHMAIL_CONF_OPTS = \
FETCHMAIL_DEPENDENCIES = \
ca-certificates \
openssl
# libintl is an optional dependency
ifeq ($(BR2_PACKAGE_GETTEXT),y)
FETCHMAIL_DEPENDENCIES += gettext
endif
openssl \
$(TARGET_NLS_DEPENDENCIES)
# fetchmailconf.py script is not (yet) python3-compliant.
# Prevent the pyc-compilation with python-3 from failing by removing this