[oe-commits] Koen Kooi : vim: workaround a dependency problem with RPM

git at git.openembedded.org git at git.openembedded.org
Fri Jan 20 11:32:08 UTC 2012


Module: meta-openembedded.git
Branch: master
Commit: 1ec5fa073fba7d2c63c15d4625fcd15362769fbf
URL:    http://git.openembedded.org/?p=meta-openembedded.git&a=commit;h=1ec5fa073fba7d2c63c15d4625fcd15362769fbf

Author: Koen Kooi <koen at dominion.thruhere.net>
Date:   Thu Jan 19 10:03:38 2012 +0100

vim: workaround a dependency problem with RPM

One of the examples has a #!/bin/csh which tells RPM to add that as a dep, which we don't want

Signed-off-by: Koen Kooi <koen at dominion.thruhere.net>

---

 meta-oe/recipes-support/vim/vim.inc |    7 ++++++-
 1 files changed, 6 insertions(+), 1 deletions(-)

diff --git a/meta-oe/recipes-support/vim/vim.inc b/meta-oe/recipes-support/vim/vim.inc
index 43924f3..7b036a7 100644
--- a/meta-oe/recipes-support/vim/vim.inc
+++ b/meta-oe/recipes-support/vim/vim.inc
@@ -9,7 +9,7 @@ LIC_FILES_CHKSUM = "file://README.txt;md5=72c4840d07b65659b60b3fa405c7da36"
 PV_MAJOR = "${@bb.data.getVar('PV',d,1).split('.')[0]}.${@bb.data.getVar('PV',d,1).split('.')[1]}"
 VIMDIR = "${@bb.data.getVar('PV',d,1).split('.')[0]}${@bb.data.getVar('PV',d,1).split('.')[1]}"
 
-INC_PR = "r10"
+INC_PR = "r11"
 
 SRC_URI = " \
   ftp://ftp.vim.org/pub/vim/unix/vim-${PV_MAJOR}.tar.bz2;name=vim${PV_MAJOR}tarbz2 \
@@ -57,6 +57,11 @@ EXTRA_OECONF = " \
   vim_cv_tty_group=world \
 "
 
+# Work around rpm picking up csh as a dep
+do_install_append() {
+	chmod -x ${D}${datadir}/vim/vim72/tools/vim132
+}
+
 PACKAGES =+ "vim-common vim-syntax vim-help vim-tutor"
 FILES_vim-syntax = "${datadir}/vim/vim${VIMVER}/syntax"
 FILES_vim-help = "${datadir}/vim/vim${VIMVER}/doc"





More information about the Openembedded-commits mailing list