|
|
@ -27,28 +27,26 @@ vim_postmake() { |
|
|
|
ln -sf $bindir/gvim $bindir/gvimdiff |
|
|
|
ln -sf $bindir/gvim $bindir/evim |
|
|
|
ln -sf $bindir/gvim $bindir/rgvim |
|
|
|
|
|
|
|
|
|
|
|
confopt="$confopt --enable-gui=no --without-x" |
|
|
|
|
|
|
|
|
|
|
|
echo "Running ./configure $confopt ..." |
|
|
|
eval ./configure $confopt |
|
|
|
echo "Running $MAKE $makeopt ..." |
|
|
|
eval $MAKE $makeopt |
|
|
|
cp -v src/vim $bindir/vim |
|
|
|
fi |
|
|
|
|
|
|
|
|
|
|
|
if [ "$ROCKCFG_PKG_VIM_IS_VI_REPLACEMENT" = 1 ] ; then |
|
|
|
rm -f $bindir/vi |
|
|
|
ln -sf $bindir/vim $bindir/vi |
|
|
|
fi |
|
|
|
|
|
|
|
|
|
|
|
# now hopefully all are happy ;-) |
|
|
|
|
|
|
|
cp README.txt $docdir |
|
|
|
|
|
|
|
cp -fv $confdir/vimrc* $root/$prefix/share/ |
|
|
|
} |
|
|
|
|
|
|
|
var_append extraconfopt ' ' "--enable-max-features --enable-perlinterp --enable-pythoninterp" |
|
|
|
postmake="vim_postmake" |
|
|
|
|
|
|
|
[ "$ver" != 6.2 ] && abort "new-version\nThe file 'vim.conf' must be updated!" |
|
|
|
|