summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'app-editors/neovim/neovim-9999.ebuild')
-rw-r--r--app-editors/neovim/neovim-9999.ebuild8
1 files changed, 8 insertions, 0 deletions
diff --git a/app-editors/neovim/neovim-9999.ebuild b/app-editors/neovim/neovim-9999.ebuild
index cf4f9b9..ef449d4 100644
--- a/app-editors/neovim/neovim-9999.ebuild
+++ b/app-editors/neovim/neovim-9999.ebuild
@@ -37,11 +37,19 @@ RDEPEND="${CDEPEND}
src_prepare() {
sed -e '/^# define SYS_VIMRC_FILE/s|$VIM|'"${EPREFIX}"'/etc/vim|' \
-i src/nvim/os_unix_defs.h || die
+ cmake-utils_src_prepare
}
src_configure() {
+ export USE_BUNDLED_DEPS=OFF
append-cflags "-Wno-error"
append-cppflags "-DNDEBUG -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1"
local mycmakeargs=( -DCMAKE_BUILD_TYPE=Release )
cmake-utils_src_configure
}
+
+src_install() {
+ default
+ insinto "${EPREFIX}"/etc/vim
+ doins "${FILESDIR}"/nvimrc
+}