From f78c9f266be5e02b5b0d5b26ddf55d1c8b46d4b0 Mon Sep 17 00:00:00 2001 From: Juan RP Date: Sat, 16 Aug 2014 08:37:30 +0200 Subject: [PATCH] vim: update to 7.4.404. --- srcpkgs/vim/template | 15 +++++---------- 1 file changed, 5 insertions(+), 10 deletions(-) diff --git a/srcpkgs/vim/template b/srcpkgs/vim/template index 02d85333408..cc6005bbf29 100644 --- a/srcpkgs/vim/template +++ b/srcpkgs/vim/template @@ -1,7 +1,7 @@ # Template file for 'vim' pkgname=vim _distver=7.4 -_patchver=383 +_patchver=404 version=${_distver}.${_patchver} revision=1 hostmakedepends="mercurial pkg-config" @@ -13,10 +13,10 @@ maintainer="Juan RP " homepage="http://www.vim.org" license="GPL-2" -VIM_SUBPKGS="vim-x11 gvim" +subpackages="vim-common vim-x11 gvim" # XXX vim-huge cannot be cross compiled for now. if [ -z "$CROSS_BUILD" ]; then - VIM_SUBPKGS+=" vim-huge" + subpackages+=" vim-huge" fi do_fetch() { @@ -25,7 +25,7 @@ do_fetch() { } pre_configure() { - for f in ${VIM_SUBPKGS}; do + for f in ${subpackages}; do mkdir -p /tmp/${f} cp -a $wrksrc/* /tmp/${f} mv /tmp/${f} $wrksrc/${f} @@ -76,7 +76,7 @@ do_build() { cd $wrksrc make ${makejobs} - for f in ${VIM_SUBPKGS}; do + for f in ${subpackages}; do cd $wrksrc/$f make ${makejobs} done @@ -130,9 +130,6 @@ gvim_package() { } } -# XXX disabled for cross builds. -if [ -z "$CROSS_BUILD" ]; then - vim-huge_package() { depends="python vim-common-${version}_${revision}" short_desc+=" - Huge (all features enabled)" @@ -145,5 +142,3 @@ vim-huge_package() { rm -rf $PKGDESTDIR/usr/share } } - -fi