diff options
Diffstat (limited to 'repo/util/vim.xibuild')
-rw-r--r-- | repo/util/vim.xibuild | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/repo/util/vim.xibuild b/repo/util/vim.xibuild index 27e04ad..06c05a1 100644 --- a/repo/util/vim.xibuild +++ b/repo/util/vim.xibuild @@ -5,15 +5,19 @@ DEPS=(gpm acl glibc libgcrypt pcre zlib) SOURCE=https://github.com/vim/vim.git DESC="Vi Improved" -build () { +patch () { echo '#define SYS_VIMRC_FILE "/etc/vimrc"' >> src/feature.h +} + +build () { ./configure --prefix=/usr --disable-gtk-check --disable-motif-check --disable-athena-check --disable-gui --disable-xsmp --without-x -disable-canberra --disable-libsodium --disable-gpm --disable-libsodium make - make DESTDIR=$PKG_DEST install } package () { +make DESTDIR=$PKG_DEST install + cat > vimrc << "EOF" " Begin /etc/vimrc " Ensure defaults are set before customizing settings, not after |