vim: workaround nawk dependency problem with RPM
authorPeter Bigot <pab@pabigot.com>
Tue, 3 Sep 2013 19:04:49 +0000 (19:04 +0000)
committerPatrick Ohly <patrick.ohly@intel.com>
Fri, 9 Jan 2015 16:32:48 +0000 (08:32 -0800)
One of the examples has a #!/usr/bin/nawk which tells RPM to add that as a
dep, which we don't want.

(From meta-openembedded rev: 53c9a1f55e169e0c7e2d6a3fed51308c316774fb)

Signed-off-by: Peter A. Bigot <pab@pabigot.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Patrick Ohly <patrick.ohly@intel.com>
meta-openembedded/meta-oe/recipes-support/vim/vim.inc

index d7336c2..991ba74 100644 (file)
@@ -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