aboutsummaryrefslogtreecommitdiffstats
path: root/recipes/vim
diff options
context:
space:
mode:
authorTom Rini <tom_rini@mentor.com>2011-03-31 10:21:07 -0700
committerTom Rini <tom_rini@mentor.com>2011-03-31 10:22:47 -0700
commitfcee0b548ee0d007789d40958e648e20f7e56a89 (patch)
tree4a2d22fd35941c46e1a3d210c15d4e93059589c4 /recipes/vim
parent8973564b1cbc7036955962a7f7311eee691f87ae (diff)
downloadopenembedded-fcee0b548ee0d007789d40958e648e20f7e56a89.tar.gz
vim: Switch to patchdir rather than applying in do_configure
Signed-off-by: Tom Rini <tom_rini@mentor.com>
Diffstat (limited to 'recipes/vim')
-rw-r--r--recipes/vim/vim_7.2.bb11
1 files changed, 2 insertions, 9 deletions
diff --git a/recipes/vim/vim_7.2.bb b/recipes/vim/vim_7.2.bb
index 6e1499197a..1ff1434006 100644
--- a/recipes/vim/vim_7.2.bb
+++ b/recipes/vim/vim_7.2.bb
@@ -14,17 +14,10 @@ require vim.inc
PR = "${INC_PR}.3"
# 001-411.diff contains 411 patches fetched from upstream
-SRC_URI += "file://001-411.diff;apply=no"
-SRC_URI += "file://configure.in_remove_CC_quotes.patch;apply=no"
+SRC_URI += "file://001-411.diff;patchdir=.."
+SRC_URI += "file://configure.in_remove_CC_quotes.patch;patchdir=.."
SRC_URI += "file://vimrc"
-# we need to apply patches in other dir then ${S}
-do_patch() {
- cd ${WORKDIR}/vim${VIMVER}
- patch -p1 <${WORKDIR}/001-411.diff
- patch -p1 <${WORKDIR}/configure.in_remove_CC_quotes.patch
-}
-
do_install_append() {
install -m 0644 ${WORKDIR}/vimrc ${D}/${datadir}/vim
}