diff options
| author | Koen Kooi <koen@dominion.thruhere.net> | 2012-01-19 10:03:38 +0100 |
|---|---|---|
| committer | Koen Kooi <koen@dominion.thruhere.net> | 2012-01-20 12:21:23 +0100 |
| commit | 1ec5fa073fba7d2c63c15d4625fcd15362769fbf (patch) | |
| tree | 36a5c74b8543f90a19bb93ab571c1c215448450d | |
| parent | 8e2ccbd8ecfd97bc244445a63e01b38e72b1c3a8 (diff) | |
| download | meta-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>
| -rw-r--r-- | 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 43924f347d..7b036a7c8a 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" | |||
| 9 | PV_MAJOR = "${@bb.data.getVar('PV',d,1).split('.')[0]}.${@bb.data.getVar('PV',d,1).split('.')[1]}" | 9 | PV_MAJOR = "${@bb.data.getVar('PV',d,1).split('.')[0]}.${@bb.data.getVar('PV',d,1).split('.')[1]}" |
| 10 | VIMDIR = "${@bb.data.getVar('PV',d,1).split('.')[0]}${@bb.data.getVar('PV',d,1).split('.')[1]}" | 10 | VIMDIR = "${@bb.data.getVar('PV',d,1).split('.')[0]}${@bb.data.getVar('PV',d,1).split('.')[1]}" |
| 11 | 11 | ||
| 12 | INC_PR = "r10" | 12 | INC_PR = "r11" |
| 13 | 13 | ||
| 14 | SRC_URI = " \ | 14 | SRC_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 | ||
| 61 | do_install_append() { | ||
| 62 | chmod -x ${D}${datadir}/vim/vim72/tools/vim132 | ||
| 63 | } | ||
| 64 | |||
| 60 | PACKAGES =+ "vim-common vim-syntax vim-help vim-tutor" | 65 | PACKAGES =+ "vim-common vim-syntax vim-help vim-tutor" |
| 61 | FILES_vim-syntax = "${datadir}/vim/vim${VIMVER}/syntax" | 66 | FILES_vim-syntax = "${datadir}/vim/vim${VIMVER}/syntax" |
| 62 | FILES_vim-help = "${datadir}/vim/vim${VIMVER}/doc" | 67 | FILES_vim-help = "${datadir}/vim/vim${VIMVER}/doc" |
