summaryrefslogtreecommitdiffstats
path: root/meta-oe/recipes-support/vim/vim.inc
diff options
context:
space:
mode:
authorKoen Kooi <koen@dominion.thruhere.net>2012-01-19 10:03:38 +0100
committerKoen Kooi <koen@dominion.thruhere.net>2012-01-20 12:21:23 +0100
commit1ec5fa073fba7d2c63c15d4625fcd15362769fbf (patch)
tree36a5c74b8543f90a19bb93ab571c1c215448450d /meta-oe/recipes-support/vim/vim.inc
parent8e2ccbd8ecfd97bc244445a63e01b38e72b1c3a8 (diff)
downloadmeta-openembedded-1ec5fa073fba7d2c63c15d4625fcd15362769fbf.tar.gz
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@dominion.thruhere.net>
Diffstat (limited to 'meta-oe/recipes-support/vim/vim.inc')
-rw-r--r--meta-oe/recipes-support/vim/vim.inc7
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 43924f347..7b036a7c8 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"
9PV_MAJOR = "${@bb.data.getVar('PV',d,1).split('.')[0]}.${@bb.data.getVar('PV',d,1).split('.')[1]}" 9PV_MAJOR = "${@bb.data.getVar('PV',d,1).split('.')[0]}.${@bb.data.getVar('PV',d,1).split('.')[1]}"
10VIMDIR = "${@bb.data.getVar('PV',d,1).split('.')[0]}${@bb.data.getVar('PV',d,1).split('.')[1]}" 10VIMDIR = "${@bb.data.getVar('PV',d,1).split('.')[0]}${@bb.data.getVar('PV',d,1).split('.')[1]}"
11 11
12INC_PR = "r10" 12INC_PR = "r11"
13 13
14SRC_URI = " \ 14SRC_URI = " \
15 ftp://ftp.vim.org/pub/vim/unix/vim-${PV_MAJOR}.tar.bz2;name=vim${PV_MAJOR}tarbz2 \ 15 ftp://ftp.vim.org/pub/vim/unix/vim-${PV_MAJOR}.tar.bz2;name=vim${PV_MAJOR}tarbz2 \
@@ -57,6 +57,11 @@ EXTRA_OECONF = " \
57 vim_cv_tty_group=world \ 57 vim_cv_tty_group=world \
58" 58"
59 59
60# Work around rpm picking up csh as a dep
61do_install_append() {
62 chmod -x ${D}${datadir}/vim/vim72/tools/vim132
63}
64
60PACKAGES =+ "vim-common vim-syntax vim-help vim-tutor" 65PACKAGES =+ "vim-common vim-syntax vim-help vim-tutor"
61FILES_vim-syntax = "${datadir}/vim/vim${VIMVER}/syntax" 66FILES_vim-syntax = "${datadir}/vim/vim${VIMVER}/syntax"
62FILES_vim-help = "${datadir}/vim/vim${VIMVER}/doc" 67FILES_vim-help = "${datadir}/vim/vim${VIMVER}/doc"