commit:     15dd089f16501e34ad722e32a32068d911cb4fae
Author:     Patrice Clement <monsieurp <AT> gentoo <DOT> org>
AuthorDate: Sun Jan  7 21:46:34 2018 +0000
Commit:     Patrice Clement <monsieurp <AT> gentoo <DOT> org>
CommitDate: Sun Jan  7 21:52:03 2018 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=15dd089f

app-editors/neovim: add PREFER_LUA CMake option.

This option allows neovim to build even when the luajit USE flag is
disabled.

Courtesy of Kumba <gentoo-bugs-72052 <AT> khumba.net>.

Closes: https://bugs.gentoo.org/643752
Package-Manager: Portage-2.3.13, Repoman-2.3.3

 app-editors/neovim/neovim-0.2.0-r1.ebuild | 1 +
 app-editors/neovim/neovim-0.2.2-r1.ebuild | 1 +
 app-editors/neovim/neovim-9999.ebuild     | 1 +
 3 files changed, 3 insertions(+)

diff --git a/app-editors/neovim/neovim-0.2.0-r1.ebuild 
b/app-editors/neovim/neovim-0.2.0-r1.ebuild
index 13a7786ff18..12fbcafd7b6 100644
--- a/app-editors/neovim/neovim-0.2.0-r1.ebuild
+++ b/app-editors/neovim/neovim-0.2.0-r1.ebuild
@@ -64,6 +64,7 @@ src_configure() {
        local mycmakeargs=(
                -DFEAT_TUI=$(usex tui)
                -DENABLE_JEMALLOC=$(usex jemalloc)
+               -DPREFER_LUA=$(usex luajit no yes)
        )
        cmake-utils_src_configure
 }

diff --git a/app-editors/neovim/neovim-0.2.2-r1.ebuild 
b/app-editors/neovim/neovim-0.2.2-r1.ebuild
index 13a7786ff18..12fbcafd7b6 100644
--- a/app-editors/neovim/neovim-0.2.2-r1.ebuild
+++ b/app-editors/neovim/neovim-0.2.2-r1.ebuild
@@ -64,6 +64,7 @@ src_configure() {
        local mycmakeargs=(
                -DFEAT_TUI=$(usex tui)
                -DENABLE_JEMALLOC=$(usex jemalloc)
+               -DPREFER_LUA=$(usex luajit no yes)
        )
        cmake-utils_src_configure
 }

diff --git a/app-editors/neovim/neovim-9999.ebuild 
b/app-editors/neovim/neovim-9999.ebuild
index 13a7786ff18..12fbcafd7b6 100644
--- a/app-editors/neovim/neovim-9999.ebuild
+++ b/app-editors/neovim/neovim-9999.ebuild
@@ -64,6 +64,7 @@ src_configure() {
        local mycmakeargs=(
                -DFEAT_TUI=$(usex tui)
                -DENABLE_JEMALLOC=$(usex jemalloc)
+               -DPREFER_LUA=$(usex luajit no yes)
        )
        cmake-utils_src_configure
 }

Reply via email to