|
@ -28,7 +28,7 @@ vim_postmake() { |
|
|
ln -sf $bindir/gvim $bindir/evim |
|
|
ln -sf $bindir/gvim $bindir/evim |
|
|
ln -sf $bindir/gvim $bindir/rgvim |
|
|
ln -sf $bindir/gvim $bindir/rgvim |
|
|
|
|
|
|
|
|
confopt="$confopt --enable-gui=no --without-x" |
|
|
|
|
|
|
|
|
var_append confopt ' ' "--enable-gui=no --without-x" |
|
|
|
|
|
|
|
|
echo "Running ./configure $confopt ..." |
|
|
echo "Running ./configure $confopt ..." |
|
|
eval ./configure $confopt |
|
|
eval ./configure $confopt |
|
@ -39,7 +39,7 @@ vim_postmake() { |
|
|
|
|
|
|
|
|
if [ "$ROCKCFG_PKG_VIM_IS_VI_REPLACEMENT" = 1 ] ; then |
|
|
if [ "$ROCKCFG_PKG_VIM_IS_VI_REPLACEMENT" = 1 ] ; then |
|
|
rm -f $bindir/vi |
|
|
rm -f $bindir/vi |
|
|
ln -sf $bindir/vim $bindir/vi |
|
|
|
|
|
|
|
|
ln -sf vim $bindir/vi |
|
|
fi |
|
|
fi |
|
|
|
|
|
|
|
|
# now hopefully all are happy ;-) |
|
|
# now hopefully all are happy ;-) |
|
@ -47,6 +47,15 @@ vim_postmake() { |
|
|
cp -fv $confdir/vimrc* $root/$prefix/share/ |
|
|
cp -fv $confdir/vimrc* $root/$prefix/share/ |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
var_append extraconfopt ' ' "--enable-max-features --enable-perlinterp --enable-pythoninterp" |
|
|
|
|
|
|
|
|
var_append extraconfopt ' ' "--with-features=$ROCKCFG_PKG_VIM_FEATURES" |
|
|
|
|
|
var_append extraconfopt ' ' "--enable-gui=$ROCKCFG_PKG_VIM_GUI" |
|
|
|
|
|
[ "$ROCKCFG_PKG_VIM_PERLINTERP" = 1 ] && \ |
|
|
|
|
|
var_append extraconfopt ' ' "--enable-perlinterp" |
|
|
|
|
|
[ "$ROCKCFG_PKG_VIM_PYTHONINTERP" = 1 ] && \ |
|
|
|
|
|
var_append extraconfopt ' ' "--enable-pythoninterp" |
|
|
|
|
|
[ "$ROCKCFG_PKG_VIM_RUBYINTERP" = 1 ] && \ |
|
|
|
|
|
var_append extraconfopt ' ' "--enable-rubyinterp" |
|
|
|
|
|
[ "$ROCKCFG_PKG_VIM_TCLINTERP" = 1 ] && \ |
|
|
|
|
|
var_append extraconfopt ' ' "--enable-tclinterp --with-tclsh=tclsh" |
|
|
postmake="vim_postmake" |
|
|
postmake="vim_postmake" |
|
|
|
|
|
|