[oe] [meta-oe][PATCH] vim: use empty PACKAGECONFIG for vim-native

Martin Jansa martin.jansa at gmail.com
Sun Feb 24 09:56:50 UTC 2019

* otherwise it depends on gtk+-native and we don't need gtkgui enabled
  in native builds as vim-native was introduced only for xxd-native in:

  commit 1dff2351aa6cdafa5a501e8956cb853ab17ed9ae
  Author: Martin Jansa <Martin.Jansa at gmail.com>
  Date:   Fri Mar 10 11:55:44 2017 +0100

    vim: add native BBCLASSEXTEND

    * some recipes might use xxd
    * with stricter host binaries available in PATH:
      we cannot use xxd from host and it's not so common to add it into
    * there is also smaller solution for xxd -i (which is what I need):
      but after creating xxdi-native recipe for this I've discovered that
      perl on my host as well as perlnative doesn't provide File::Slurp
      used by this, so adding BBCLASSEXTEND here is easier solution

    Signed-off-by: Martin Jansa <Martin.Jansa at gmail.com>

Signed-off-by: Martin Jansa <Martin.Jansa at gmail.com>
 meta-oe/recipes-support/vim/vim_8.1.0347.bb | 1 +
 1 file changed, 1 insertion(+)

diff --git a/meta-oe/recipes-support/vim/vim_8.1.0347.bb b/meta-oe/recipes-support/vim/vim_8.1.0347.bb
index 0705831584..2a3d14a2ce 100644
--- a/meta-oe/recipes-support/vim/vim_8.1.0347.bb
+++ b/meta-oe/recipes-support/vim/vim_8.1.0347.bb
@@ -40,6 +40,7 @@ PACKAGECONFIG += " \
     ${@bb.utils.filter('DISTRO_FEATURES', 'acl selinux', d)} \
     ${@bb.utils.contains('DISTRO_FEATURES', 'x11', 'x11 gtkgui', '', d)} \
+PACKAGECONFIG_class-native = ""
 PACKAGECONFIG[gtkgui] = "--enable-gui=gtk2,--enable-gui=no,gtk+,"
 PACKAGECONFIG[acl] = "--enable-acl,--disable-acl,acl,"

More information about the Openembedded-devel mailing list