diff options
Diffstat (limited to 'app-editors/neovim/neovim-0.0.0_pre20150223.ebuild')
-rw-r--r-- | app-editors/neovim/neovim-0.0.0_pre20150223.ebuild | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/app-editors/neovim/neovim-0.0.0_pre20150223.ebuild b/app-editors/neovim/neovim-0.0.0_pre20150223.ebuild index cf4f9b9..ef449d4 100644 --- a/app-editors/neovim/neovim-0.0.0_pre20150223.ebuild +++ b/app-editors/neovim/neovim-0.0.0_pre20150223.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 +} |