summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas De Schampheleire <patrickdepinguin@gmail.com>2013-11-19 11:15:50 (GMT)
committer Peter Korsgaard <peter@korsgaard.com>2013-11-19 12:27:34 (GMT)
commit5a3c69afbd7fb3358a538508ad2e27f58f0769ba (patch)
treea1b168f5fa17374d01096cbccbf63949610f93e2
parentd0e1fae103d324ae262d9cea50946bf5cff19409 (diff)
downloadbuildroot-5a3c69afbd7fb3358a538508ad2e27f58f0769ba.tar.gz
buildroot-5a3c69afbd7fb3358a538508ad2e27f58f0769ba.tar.bz2
vim: add dependency to gettext if locale support is requested
Until now, if locale support was requested, vim would be built with NLS or not depending on the build order. This patch now makes the dependency explicit. Signed-off-by: Thomas De Schampheleire <thomas.de.schampheleire@gmail.com> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
-rw-r--r--package/vim/Config.in1
-rw-r--r--package/vim/vim.mk2
2 files changed, 2 insertions, 1 deletions
diff --git a/package/vim/Config.in b/package/vim/Config.in
index 891715e..0b2f4b5 100644
--- a/package/vim/Config.in
+++ b/package/vim/Config.in
@@ -2,6 +2,7 @@ config BR2_PACKAGE_VIM
bool "vim"
depends on BR2_USE_MMU # uses fork()
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 ca8131c..bd909cd 100644
--- a/package/vim/vim.mk
+++ b/package/vim/vim.mk
@@ -8,7 +8,7 @@ VIM_SITE = https://vim.googlecode.com/hg
VIM_SITE_METHOD = hg
# 7.3 release patchlevel 762
VIM_VERSION = 699f8d8f096d
-VIM_DEPENDENCIES = ncurses
+VIM_DEPENDENCIES = ncurses $(if $(BR2_NEEDS_GETTEXT_IF_LOCALE),gettext)
VIM_SUBDIR = src
VIM_CONF_ENV = vim_cv_toupper_broken=no \
vim_cv_terminfo=yes \