aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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
}