commit:     e3fcffd86854963f4897b4300bce35e9de24c34f
Author:     Marek Szuba <marecki <AT> gentoo <DOT> org>
AuthorDate: Sun Nov 15 00:35:32 2020 +0000
Commit:     Marek Szuba <marecki <AT> gentoo <DOT> org>
CommitDate: Sun Nov 15 00:35:32 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e3fcffd8

games-roguelike/stone-soup-0.25.1-r100: 2 changes to lua-single migration

1. Must have ${LUA_REQUIRED_USE} in REQUIRED_USE so that when the
   package is emerged, emerge enforces having only 1 LUA_SINGLE_TARGET
   set;

2. There is a pkg_setup() in this ebuild so it is necessary to call
   lua-single_pkg_setup() explicitly.

Signed-off-by: Marek Szuba <marecki <AT> gentoo.org>

 games-roguelike/stone-soup/stone-soup-0.25.1-r100.ebuild | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/games-roguelike/stone-soup/stone-soup-0.25.1-r100.ebuild 
b/games-roguelike/stone-soup/stone-soup-0.25.1-r100.ebuild
index 025725f07f5..449552e96b5 100644
--- a/games-roguelike/stone-soup/stone-soup-0.25.1-r100.ebuild
+++ b/games-roguelike/stone-soup/stone-soup-0.25.1-r100.ebuild
@@ -31,6 +31,8 @@ IUSE="debug ncurses sound test +tiles"
 # see https://crawl.develz.org/mantis/view.php?id=6121
 RESTRICT="test"
 
+REQUIRED_USE="${LUA_REQUIRED_USE}"
+
 RDEPEND="
        ${LUA_DEPS}
        dev-db/sqlite:3
@@ -69,6 +71,7 @@ PATCHES=(
 )
 
 pkg_setup() {
+       lua-single_pkg_setup
 
        if use !ncurses && use !tiles ; then
                ewarn "Neither ncurses nor tiles frontend"

Reply via email to