vim: try to fix cross build and use configure_args for vim-huge too.

This commit is contained in:
Juan RP 2014-03-11 16:06:28 +01:00
parent 1c55a86f25
commit 9e6585cdcc
1 changed files with 8 additions and 8 deletions

View File

@ -3,10 +3,10 @@ pkgname=vim
_distver=7.4
_patchver=169
version=${_distver}.${_patchver}
revision=2
revision=3
hostmakedepends="mercurial pkg-config"
makedepends="
ncurses-devel acl-devel libXt-devel gtk+-devel desktop-file-utils hicolor-icon-theme ruby-devel python-devel lua-devel perl"
makedepends="ncurses-devel acl-devel libXt-devel gtk+-devel
desktop-file-utils hicolor-icon-theme ruby-devel python-devel lua-devel perl"
depends="vim-common>=$version"
short_desc="Vim editor (vi clone)"
maintainer="Juan RP <xtraeme@gmail.com>"
@ -31,7 +31,7 @@ pre_configure() {
}
do_configure() {
configure_args+=" --disable-perlinterp --disable-pythoninterp
args+=" --disable-perlinterp --disable-pythoninterp
--disable-rubyinterp --disable-cscope --disable-workshop
--disable-netbeans --disable-sniff --disable-gpm
--disable-hangulinput --disable-xim --enable-multibyte
@ -48,19 +48,19 @@ do_configure() {
# Normal version.
cd $wrksrc
./configure ${configure_args} --enable-gui=no --with-x=no
./configure ${configure_args} ${args} --enable-gui=no --with-x=no
# X11 version.
cd $wrksrc/vim-x11
./configure ${configure_args} --enable-gui=no --with-x
./configure ${configure_args} ${args} --enable-gui=no --with-x
# GTK+ version.
cd $wrksrc/gvim
./configure ${configure_args} --enable-gui=gtk2 --with-x --with-vim-name=gvim
./configure ${configure_args} ${args} --enable-gui=gtk2 --with-x --with-vim-name=gvim
# Huge version.
cd $wrksrc/vim-huge
./configure --with-features=huge --with-x=no --enable-gui=no
./configure ${configure_args} --with-features=huge --with-x=no --enable-gui=no
}
do_build() {