aboutsummaryrefslogtreecommitdiffstats
path: root/recipes/vim/vim_7.2.bb
blob: b1d71a22b4c23cc8609814e76110c7eb204f2055 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
VIMVER = "72"

# vim-tiny sets that too
VIMFEATURES ?= "big"

# GUI type - gvim recipe sets "gtk2"
VIMGUI ?= "none"

# gvim recipes uses "--with-x"
VIMX ?= "--without-x"

require vim.inc

PR = "${INC_PR}.1"

# 001-411.diff contains 411 patches fetched from upstream
SRC_URI += "file://001-411.diff"

# we need to apply patches in other dir then ${S}
do_applypatch() {
	cd ${WORKDIR}/vim${VIMVER}
	patch -p1 <${WORKDIR}/001-411.diff
}

addtask applypatch after do_unpack before do_patch

RCONFLICTS_${PN} = "gvim vim-tiny"