diff options
author | Thomas Petazzoni <thomas.petazzoni@free-electrons.com> | 2017-07-03 23:23:10 +0200 |
---|---|---|
committer | Thomas Petazzoni <thomas.petazzoni@free-electrons.com> | 2017-07-05 01:36:01 +0200 |
commit | 5f8d6569ed75f7c7be83ad16e7a6d0fb50c3ad0c (patch) | |
tree | 247e4e72927512c3ed0d68de3059360b95bcdad5 | |
parent | feaf0570d887b3f5579dbb357764a138d362ff43 (diff) | |
download | buildroot-5f8d6569ed75f7c7be83ad16e7a6d0fb50c3ad0c.tar.gz buildroot-5f8d6569ed75f7c7be83ad16e7a6d0fb50c3ad0c.zip |
vim: 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/vim/Config.in | 1 | ||||
-rw-r--r-- | package/vim/vim.mk | 2 |
2 files changed, 1 insertions, 2 deletions
diff --git a/package/vim/Config.in b/package/vim/Config.in index b851627ca0..1469be8dbe 100644 --- a/package/vim/Config.in +++ b/package/vim/Config.in @@ -4,7 +4,6 @@ config BR2_PACKAGE_VIM depends on BR2_USE_WCHAR depends on BR2_PACKAGE_BUSYBOX_SHOW_OTHERS select BR2_PACKAGE_NCURSES - select BR2_PACKAGE_GETTEXT if BR2_NEEDS_GETTEXT_IF_LOCALE help VIM Text editor diff --git a/package/vim/vim.mk b/package/vim/vim.mk index ec494608e7..c235a08cd3 100644 --- a/package/vim/vim.mk +++ b/package/vim/vim.mk @@ -8,7 +8,7 @@ VIM_VERSION = v8.0.0329 VIM_SITE = $(call github,vim,vim,$(VIM_VERSION)) # Win over busybox vi since vim is more feature-rich VIM_DEPENDENCIES = \ - ncurses $(if $(BR2_NEEDS_GETTEXT_IF_LOCALE),gettext) \ + ncurses $(TARGET_NLS_DEPENDENCIES) \ $(if $(BR2_PACKAGE_BUSYBOX),busybox) VIM_SUBDIR = src VIM_CONF_ENV = \ |