[prev in list] [next in list] [prev in thread] [next in thread] 

List:       gentoo-dev
Subject:    [gentoo-dev] [PATCH 2/4] lua.eclass: die if lua-single.eclass has already been loaded
From:       Marek Szuba <marecki () gentoo ! org>
Date:       2020-09-30 16:23:13
Message-ID: 20200930162315.253903-3-marecki () gentoo ! org
[Download RAW message or body]

Signed-off-by: Marek Szuba <marecki@gentoo.org>
---
 eclass/lua.eclass | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/eclass/lua.eclass b/eclass/lua.eclass
index f4594872e58..8ade9c0f079 100644
--- a/eclass/lua.eclass
+++ b/eclass/lua.eclass
@@ -63,6 +63,10 @@ esac
 
 if [[ ! ${_LUA_R0} ]]; then
 
+if [[ ${_LUA_SINGLE_R0} ]]; then
+	die 'lua.eclass cannot be used with lua-single.eclass.'
+fi
+
 inherit multibuild lua-utils
 
 fi
-- 
2.26.2


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic