From 6b80bad91401ba0bee356bcffd2920ef0886f401 Mon Sep 17 00:00:00 2001 From: Adrien Destugues Date: Thu, 6 Mar 2014 10:41:49 +0100 Subject: [PATCH] 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. --- app-editors/vim/vim-7.4.recipe | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/app-editors/vim/vim-7.4.recipe b/app-editors/vim/vim-7.4.recipe index f7a940028..ff850bfc2 100644 --- a/app-editors/vim/vim-7.4.recipe +++ b/app-editors/vim/vim-7.4.recipe @@ -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 }