mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-22 19:50:05 +02:00
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:
@@ -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
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user