From: Ben Kohler Date: Thu, 23 May 2019 18:29:40 +0000 (-0500) Subject: www-client/luakit: fix non-luajit install & tests X-Git-Url: http://git.tremily.us/gitweb.cgi?a=commitdiff_plain;h=cb863ffe977f4649714bf73ce7040a75d70b705c;p=gentoo.git 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 --- diff --git a/www-client/luakit/luakit-2017.08.10.ebuild b/www-client/luakit/luakit-2017.08.10.ebuild index 58974d97427a..487247b7ce74 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}" \