summaryrefslogtreecommitdiffstats
path: root/meta/recipes-support/vim
diff options
context:
space:
mode:
authorAndrej Valek <andrej.valek@siemens.com>2021-08-26 15:15:49 +0200
committerRichard Purdie <richard.purdie@linuxfoundation.org>2021-08-27 11:54:34 +0100
commit4e2da1699eca91f2daee8459e922f848e7d8fcbe (patch)
tree729b7c65100f3955bcb91b13c309590f09d50584 /meta/recipes-support/vim
parentecf879551965cb625aeca648754c6061707cb40b (diff)
downloadpoky-4e2da1699eca91f2daee8459e922f848e7d8fcbe.tar.gz
vim: add option to disable NLS support
- Some distributions with UTF-8 locale have problem when National Language Support is enabled. Add there an option to disable it. (From OE-Core rev: da630d6d81a396c3e1635fbd7b8103df47ed2732) Signed-off-by: Andrej Valek <andrej.valek@siemens.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-support/vim')
-rw-r--r--meta/recipes-support/vim/vim.inc4
1 files changed, 3 insertions, 1 deletions
diff --git a/meta/recipes-support/vim/vim.inc b/meta/recipes-support/vim/vim.inc
index 17d1c24a7c..860fd24863 100644
--- a/meta/recipes-support/vim/vim.inc
+++ b/meta/recipes-support/vim/vim.inc
@@ -54,11 +54,12 @@ do_compile() {
54 autotools_do_compile 54 autotools_do_compile
55} 55}
56 56
57#Available PACKAGECONFIG options are gtkgui, acl, x11, tiny 57#Available PACKAGECONFIG options are gtkgui, acl, x11, tiny selinux, elfutils, nls
58PACKAGECONFIG ??= "" 58PACKAGECONFIG ??= ""
59PACKAGECONFIG += " \ 59PACKAGECONFIG += " \
60 ${@bb.utils.filter('DISTRO_FEATURES', 'acl selinux', d)} \ 60 ${@bb.utils.filter('DISTRO_FEATURES', 'acl selinux', d)} \
61 ${@bb.utils.contains('DISTRO_FEATURES', 'x11', 'x11 gtkgui', '', d)} \ 61 ${@bb.utils.contains('DISTRO_FEATURES', 'x11', 'x11 gtkgui', '', d)} \
62 nls \
62" 63"
63 64
64PACKAGECONFIG[gtkgui] = "--enable-gui=gtk3,--enable-gui=no,gtk+3" 65PACKAGECONFIG[gtkgui] = "--enable-gui=gtk3,--enable-gui=no,gtk+3"
@@ -67,6 +68,7 @@ PACKAGECONFIG[x11] = "--with-x,--without-x,xt,"
67PACKAGECONFIG[tiny] = "--with-features=tiny,--with-features=big,," 68PACKAGECONFIG[tiny] = "--with-features=tiny,--with-features=big,,"
68PACKAGECONFIG[selinux] = "--enable-selinux,--disable-selinux,libselinux," 69PACKAGECONFIG[selinux] = "--enable-selinux,--disable-selinux,libselinux,"
69PACKAGECONFIG[elfutils] = "--enable-elf-check,,elfutils," 70PACKAGECONFIG[elfutils] = "--enable-elf-check,,elfutils,"
71PACKAGECONFIG[nls] = "--enable-nls,--disable-nls,,"
70 72
71EXTRA_OECONF = " \ 73EXTRA_OECONF = " \
72 --disable-gpm \ 74 --disable-gpm \