Patchwork [5/5] vim: use new u-a syntax

login
register
mail settings
Submitter Martin Jansa
Date Jan. 29, 2013, 12:29 p.m.
Message ID <050a749951f9f8082b89ab21f4a89f46560f09a6.1359462547.git.Martin.Jansa@gmail.com>
Download mbox | patch
Permalink /patch/43633/
State Accepted, archived
Commit 285f7fe1b4f3444befbc3866656caa6d77d872c3
Headers show

Comments

Martin Jansa - Jan. 29, 2013, 12:29 p.m.
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
---
 meta-oe/recipes-support/vim/vim.inc | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

Patch

diff --git a/meta-oe/recipes-support/vim/vim.inc b/meta-oe/recipes-support/vim/vim.inc
index ca36bf1..4fa8f7c 100644
--- a/meta-oe/recipes-support/vim/vim.inc
+++ b/meta-oe/recipes-support/vim/vim.inc
@@ -9,7 +9,7 @@  LIC_FILES_CHKSUM = "file://README.txt;md5=72c4840d07b65659b60b3fa405c7da36"
 PV_MAJOR = "${@d.getVar('PV',1).split('.')[0]}.${@d.getVar('PV',1).split('.')[1]}"
 VIMDIR = "${PN}${@d.getVar('PV',1).split('.')[0]}${@d.getVar('PV',1).split('.')[1]}"
 
-INC_PR = "r12"
+INC_PR = "r13"
 
 SRC_URI = " \
   ftp://ftp.${PN}.org/pub/${PN}/unix/${PN}-${PV_MAJOR}.tar.bz2;name=${VIMDIR} \
@@ -69,9 +69,9 @@  FILES_${PN}-tutor = "${datadir}/${PN}/${VIMDIR}/tutor ${bindir}/${PN}tutor"
 FILES_${PN}-vimrc = "${datadir}/${PN}/vimrc"
 FILES_${PN}-data = "${datadir}/${PN}"
 
-ALTERNATIVE_NAME = "vi"
-ALTERNATIVE_PATH = "${bindir}/${PN}"
-ALTERNATIVE_LINK = "${base_bindir}/vi"
-ALTERNATIVE_PRIORITY = "100"
+ALTERNATIVE_${PN} = "vi"
+ALTERNATIVE_TARGET[vi] = "${bindir}/${PN}"
+ALTERNATIVE_LINK_NAME[vi] = "${base_bindir}/vi"
+ALTERNATIVE_PRIORITY[vi] = "100"
 
 PARALLEL_MAKE = ""