[oe-commits] [meta-openembedded] 32/32: vim: add native BBCLASSEXTEND

git at git.openembedded.org git at git.openembedded.org
Sat Mar 11 16:58:20 UTC 2017


This is an automated email from the git hooks/post-receive script.

martin_jansa pushed a commit to branch master
in repository meta-openembedded.

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

    vim: add native BBCLASSEXTEND
    
    * some recipes might use xxd
    * with stricter host binaries available in PATH:
      http://lists.openembedded.org/pipermail/openembedded-core/2017-March/133886.html
      we cannot use xxd from host and it's not so common to add it into
      HOSTTOOL_NONFATAL
    * there is also smaller solution for xxd -i (which is what I need):
      https://github.com/gregkh/xxdi
      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>
---
 meta-oe/recipes-support/vim/vim_8.0.0022.bb | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/meta-oe/recipes-support/vim/vim_8.0.0022.bb b/meta-oe/recipes-support/vim/vim_8.0.0022.bb
index 1ccc52c..920391a 100644
--- a/meta-oe/recipes-support/vim/vim_8.0.0022.bb
+++ b/meta-oe/recipes-support/vim/vim_8.0.0022.bb
@@ -99,12 +99,14 @@ FILES_${PN}-common = " \
     ${datadir}/icons \
 "
 
-RDEPENDS_${PN} = "ncurses-terminfo-base"
+RDEPENDS_${BPN} = "ncurses-terminfo-base"
 # Recommend that runtime data is installed along with vim
-RRECOMMENDS_${PN} = "${PN}-syntax ${PN}-help ${PN}-tutor ${PN}-vimrc ${PN}-common"
+RRECOMMENDS_${BPN} = "${PN}-syntax ${PN}-help ${PN}-tutor ${PN}-vimrc ${PN}-common"
 
 ALTERNATIVE_${PN} = "vi vim"
 ALTERNATIVE_TARGET = "${bindir}/${BPN}.${BPN}"
 ALTERNATIVE_LINK_NAME[vi] = "${base_bindir}/vi"
 ALTERNATIVE_LINK_NAME[vim] = "${bindir}/vim"
 ALTERNATIVE_PRIORITY = "100"
+
+BBCLASSEXTEND = "native"

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the Openembedded-commits mailing list