summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--app-editors/neovim/neovim-9999.ebuild11
1 files changed, 7 insertions, 4 deletions
diff --git a/app-editors/neovim/neovim-9999.ebuild b/app-editors/neovim/neovim-9999.ebuild
index 17723f0..cce4e62 100644
--- a/app-editors/neovim/neovim-9999.ebuild
+++ b/app-editors/neovim/neovim-9999.ebuild
@@ -22,6 +22,7 @@ IUSE="perl python"
CDEPEND="dev-lang/luajit:2
>=dev-libs/libtermkey-0.17
+ dev-libs/libvterm-neovim
>=dev-libs/unibilium-1.1.1
>=dev-libs/libuv-1.2.0
>=dev-libs/msgpack-0.6.0_pre20150220
@@ -35,9 +36,6 @@ RDEPEND="${CDEPEND}
python? ( dev-python/neovim-python-client )"
src_prepare() {
- # do not link statically
- sed -e '/^set(LIBUNIBILIUM/s|ON|OFF|' -e '/^set(LIBTERMKEY/s|ON|OFF|' \
- -i CMakeLists.txt
# use our system vim dir
sed -e '/^# define SYS_VIMRC_FILE/s|$VIM|'"${EPREFIX}"'/etc/vim|' \
-i src/nvim/os_unix_defs.h || die
@@ -48,7 +46,12 @@ 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 )
+ local mycmakeargs=(
+ -DCMAKE_BUILD_TYPE=Release
+ -DLIBUNIBILIUM_USE_STATIC=OFF
+ -DLIBTERMKEY_USE_STATIC=OFF
+ -DLIBVTERM_USE_STATIC=OFF
+ )
cmake-utils_src_configure
}