diff options
author | Thomas Petazzoni <thomas.petazzoni@free-electrons.com> | 2017-07-03 22:59:17 +0200 |
---|---|---|
committer | Thomas Petazzoni <thomas.petazzoni@free-electrons.com> | 2017-07-05 01:28:45 +0200 |
commit | 1fe1b6372697bac48bf549e543d486c54284d027 (patch) | |
tree | b423cabdbc6853849ea8a7a0d9a85d3ece499423 | |
parent | 10e1d2b3e5ae45dd2578870d379690141a512105 (diff) | |
download | buildroot-1fe1b6372697bac48bf549e543d486c54284d027.tar.gz buildroot-1fe1b6372697bac48bf549e543d486c54284d027.zip |
mcrypt: 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
- dropping BR2_PACKAGE_GETTEXT selection
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
-rw-r--r-- | package/mcrypt/Config.in | 1 | ||||
-rw-r--r-- | package/mcrypt/mcrypt.mk | 2 |
2 files changed, 1 insertions, 2 deletions
diff --git a/package/mcrypt/Config.in b/package/mcrypt/Config.in index 58567cd751..ab2888bb17 100644 --- a/package/mcrypt/Config.in +++ b/package/mcrypt/Config.in @@ -3,7 +3,6 @@ config BR2_PACKAGE_MCRYPT depends on BR2_USE_MMU # fork() select BR2_PACKAGE_LIBMCRYPT select BR2_PACKAGE_LIBMHASH - select BR2_PACKAGE_GETTEXT if BR2_NEEDS_GETTEXT_IF_LOCALE help MCrypt is a replacement for the old crypt() package and crypt(1) command, with extensions. diff --git a/package/mcrypt/mcrypt.mk b/package/mcrypt/mcrypt.mk index 03a17196ae..f98895f401 100644 --- a/package/mcrypt/mcrypt.mk +++ b/package/mcrypt/mcrypt.mk @@ -9,7 +9,7 @@ MCRYPT_SITE = http://downloads.sourceforge.net/project/mcrypt/MCrypt/$(MCRYPT_VE MCRYPT_DEPENDENCIES = libmcrypt libmhash \ $(if $(BR2_PACKAGE_ZLIB),zlib) \ $(if $(BR2_PACKAGE_LIBICONV),libiconv) \ - $(if $(BR2_NEEDS_GETTEXT_IF_LOCALE),gettext) + $(TARGET_NLS_DEPENDENCIES) MCRYPT_CONF_OPTS = --with-libmcrypt-prefix=$(STAGING_DIR)/usr MCRYPT_LICENSE = GPL-3.0 MCRYPT_LICENSE_FILES = COPYING |