commit:     cb863ffe977f4649714bf73ce7040a75d70b705c
Author:     Ben Kohler <bkohler <AT> gentoo <DOT> org>
AuthorDate: Thu May 23 18:29:40 2019 +0000
Commit:     Ben Kohler <bkohler <AT> gentoo <DOT> org>
CommitDate: Thu May 23 18:29:40 2019 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cb863ffe

www-client/luakit: fix non-luajit install & tests

This build system defaults to looking for luajit so we need to override
LUA_*_NAME when not using luajit.  The ebuild had some overrides but not
in enough places.  This commit should fix install & tests.

Closes: https://bugs.gentoo.org/633770
Package-Manager: Portage-2.3.66, Repoman-2.3.12
Signed-off-by: Ben Kohler <bkohler <AT> gentoo.org>

 www-client/luakit/luakit-2017.08.10.ebuild | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/www-client/luakit/luakit-2017.08.10.ebuild 
b/www-client/luakit/luakit-2017.08.10.ebuild
index 58974d97427..487247b7ce7 100644
--- a/www-client/luakit/luakit-2017.08.10.ebuild
+++ b/www-client/luakit/luakit-2017.08.10.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2017 Gentoo Foundation
+# Copyright 1999-2019 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=6
@@ -56,12 +56,15 @@ src_compile() {
 
 src_test() {
        emake \
+               LUA_PKG_NAME=$(usex luajit 'luajit' 'lua') \
                LUA_BIN_NAME=$(usex luajit 'luajit' 'lua') \
                run-tests
 }
 
 src_install() {
        emake \
+               LUA_PKG_NAME=$(usex luajit 'luajit' 'lua') \
+               LUA_BIN_NAME=$(usex luajit 'luajit' 'lua') \
                DESTDIR="${D}" \
                PREFIX="${EPREFIX}/usr" \
                DOCDIR="${ED}/usr/share/doc/${PF}" \

Reply via email to