diff options
| author | Andrej Valek <andrej.valek@siemens.com> | 2021-08-26 15:15:49 +0200 |
|---|---|---|
| committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2021-09-09 10:19:42 +0100 |
| commit | 1fe02d8d8c39868da5929a0fd2fd79d692f28065 (patch) | |
| tree | d11c7a706630f9b00d8233001818769e18c0d20f | |
| parent | 8ba8e3e679768fe443e89530f2b9abc1361cd45e (diff) | |
| download | poky-1fe02d8d8c39868da5929a0fd2fd79d692f28065.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: 79aef159411df59f4bbdb3d3dcc87be9a7b5010e)
Signed-off-by: Andrej Valek <andrej.valek@siemens.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit da630d6d81a396c3e1635fbd7b8103df47ed2732)
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
| -rw-r--r-- | meta/recipes-support/vim/vim.inc | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/meta/recipes-support/vim/vim.inc b/meta/recipes-support/vim/vim.inc index 878d0f18ae..6fe8fb90db 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 |
| 58 | PACKAGECONFIG ??= "" | 58 | PACKAGECONFIG ??= "" |
| 59 | PACKAGECONFIG += " \ | 59 | PACKAGECONFIG += " \ |
| 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 | ||
| 64 | PACKAGECONFIG[gtkgui] = "--enable-gui=gtk3,--enable-gui=no,gtk+3" | 65 | PACKAGECONFIG[gtkgui] = "--enable-gui=gtk3,--enable-gui=no,gtk+3" |
| @@ -67,6 +68,7 @@ PACKAGECONFIG[x11] = "--with-x,--without-x,xt," | |||
| 67 | PACKAGECONFIG[tiny] = "--with-features=tiny,--with-features=big,," | 68 | PACKAGECONFIG[tiny] = "--with-features=tiny,--with-features=big,," |
| 68 | PACKAGECONFIG[selinux] = "--enable-selinux,--disable-selinux,libselinux," | 69 | PACKAGECONFIG[selinux] = "--enable-selinux,--disable-selinux,libselinux," |
| 69 | PACKAGECONFIG[elfutils] = "--enable-elf-check,,elfutils," | 70 | PACKAGECONFIG[elfutils] = "--enable-elf-check,,elfutils," |
| 71 | PACKAGECONFIG[nls] = "--enable-nls,--disable-nls,," | ||
| 70 | 72 | ||
| 71 | EXTRA_OECONF = " \ | 73 | EXTRA_OECONF = " \ |
| 72 | --disable-gpm \ | 74 | --disable-gpm \ |
