[oe-commits] Peter Bigot : vim: workaround nawk dependency problem with RPM

git at git.openembedded.org git at git.openembedded.org
Tue Sep 10 20:30:12 UTC 2013


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

Author: Peter Bigot <pab at pabigot.com>
Date:   Tue Sep  3 19:04:49 2013 +0000

vim: workaround nawk dependency problem with RPM

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

Signed-off-by: Peter A. Bigot <pab at pabigot.com>
Signed-off-by: Martin Jansa <Martin.Jansa at gmail.com>

---

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

diff --git a/meta-oe/recipes-support/vim/vim.inc b/meta-oe/recipes-support/vim/vim.inc
index d7336c2..991ba74 100644
--- a/meta-oe/recipes-support/vim/vim.inc
+++ b/meta-oe/recipes-support/vim/vim.inc
@@ -54,8 +54,9 @@ EXTRA_OECONF = " \
 "
 
 do_install_append() {
-    # Work around rpm picking up csh as a dep
+    # Work around rpm picking up csh or awk as a dep
     chmod -x ${D}${datadir}/${PN}/${VIMDIR}/tools/vim132
+    chmod -x ${D}${datadir}/${PN}/${VIMDIR}/tools/mve.awk
 
     # Install example vimrc from runtime files
     install -m 0644 ../runtime/vimrc_example.vim ${D}/${datadir}/${PN}/vimrc



More information about the Openembedded-commits mailing list