app-editors/neovim: add PREFER_LUA CMake option.
authorPatrice Clement <monsieurp@gentoo.org>
Sun, 7 Jan 2018 21:46:34 +0000 (22:46 +0100)
committerPatrice Clement <monsieurp@gentoo.org>
Sun, 7 Jan 2018 21:52:03 +0000 (22:52 +0100)
This option allows neovim to build even when the luajit USE flag is
disabled.

Courtesy of Kumba <gentoo-bugs-72052@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
app-editors/neovim/neovim-0.2.2-r1.ebuild
app-editors/neovim/neovim-9999.ebuild

index 13a7786ff1840b3e70850fb0bc1faae273ddf642..12fbcafd7b645e1283f8fffb02f6f8dfbda0a2e8 100644 (file)
@@ -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
 }
index 13a7786ff1840b3e70850fb0bc1faae273ddf642..12fbcafd7b645e1283f8fffb02f6f8dfbda0a2e8 100644 (file)
@@ -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
 }
index 13a7786ff1840b3e70850fb0bc1faae273ddf642..12fbcafd7b645e1283f8fffb02f6f8dfbda0a2e8 100644 (file)
@@ -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
 }