Some fixes to vim 7.4 recipe

* Add missing requires
* Add a system vimrc file setting the nocp option. This makes arrow,
backspace, and delete keys work as expected, and disabled a lot of bugs
that vim emulates from the original vi.
This commit is contained in:
Adrien Destugues
2014-03-06 10:41:49 +01:00
parent 20fe63e495
commit 6b80bad914

View File

@@ -37,6 +37,7 @@ PROVIDES="
REQUIRES="
haiku$secondaryArchSuffix >= $haikuVersion
lib:libncurses
lib:libintl
"
BUILD_REQUIRES="
ncurses_devel
@@ -47,6 +48,7 @@ BUILD_PREREQUIRES="
cmd:make
cmd:autoconf
cmd:gcc
cmd:find
"
SOURCE_DIR="vim74"
@@ -69,4 +71,7 @@ BUILD()
INSTALL()
{
make install
# Make arrow keys, backspace, delete, etc behave as expected.
echo "set nocompatible" > $dataDir/vim/vimrc
}