aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Rini <tom_rini@mentor.com>2011-03-31 10:21:07 -0700
committerSteffen Sledz <sledz@dresearch-fe.de>2011-04-29 14:08:40 +0200
commit179569aab89bc61e3191d902550a936d9ce9760e (patch)
treeac4440ebdc594796aa5544056fa112f690b605af
parentf52241011a622d07945e732b7285cd22046004e5 (diff)
downloadopenembedded-179569aab89bc61e3191d902550a936d9ce9760e.zip
openembedded-179569aab89bc61e3191d902550a936d9ce9760e.tar.gz
openembedded-179569aab89bc61e3191d902550a936d9ce9760e.tar.bz2
vim: Switch to patchdir rather than applying in do_configurehipox
Signed-off-by: Tom Rini <tom_rini@mentor.com> Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
-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 6e14991..1ff1434 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
}