[oe-commits] Tom Rini : vim: Switch to patchdir rather than applying in do_configure
git version control
git at git.openembedded.org
Mon Apr 25 16:48:27 UTC 2011
Module: openembedded.git
Branch: 2011.03-maintenance
Commit: e135af12917a9822acd27dd92b3efa4a83b69da1
URL: http://gitweb.openembedded.net/?p=openembedded.git&a=commit;h=e135af12917a9822acd27dd92b3efa4a83b69da1
Author: Tom Rini <tom_rini at mentor.com>
Date: Thu Mar 31 10:21:07 2011 -0700
vim: Switch to patchdir rather than applying in do_configure
Signed-off-by: Tom Rini <tom_rini at mentor.com>
Signed-off-by: Koen Kooi <koen at dominion.thruhere.net>
---
recipes/vim/vim_7.2.bb | 11 ++---------
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
}
More information about the Openembedded-commits
mailing list