]> rtime.felk.cvut.cz Git - coffee/buildroot.git/commitdiff
vim: add dependency to gettext if locale support is requested
authorThomas De Schampheleire <patrickdepinguin@gmail.com>
Tue, 19 Nov 2013 11:15:50 +0000 (12:15 +0100)
committerPeter Korsgaard <peter@korsgaard.com>
Tue, 19 Nov 2013 12:27:34 +0000 (13:27 +0100)
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>
package/vim/Config.in
package/vim/vim.mk

index 891715eb578c3788268663e99d29c17e521e5017..0b2f4b5b8583611bcc0edde13d65f7cc2de92a04 100644 (file)
@@ -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
 
index ca8131c6221efc08641341b0622c9ac0b95e6d89..bd909cd7026651b8ddbaf9fd65566deb3473a7e6 100644 (file)
@@ -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 \