summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVadim A. Misbakh-Soloviov <git@mva.name>2017-01-10 16:55:57 +0700
committerVadim A. Misbakh-Soloviov <git@mva.name>2017-01-10 16:55:57 +0700
commit00dad27ba2e9cd7ddc5cdcd131d43feadba23dbb (patch)
tree6b11a5c5507628baf3dbb756dabd24faea5df64e
parentresty-hpdf: added (diff)
downloadlua-00dad27ba2e9cd7ddc5cdcd131d43feadba23dbb.tar.gz
lua-00dad27ba2e9cd7ddc5cdcd131d43feadba23dbb.tar.bz2
lua-00dad27ba2e9cd7ddc5cdcd131d43feadba23dbb.zip
lua.eclass: fix
-rw-r--r--eclass/lua.eclass2
1 files changed, 1 insertions, 1 deletions
diff --git a/eclass/lua.eclass b/eclass/lua.eclass
index 99b2eef..02483e7 100644
--- a/eclass/lua.eclass
+++ b/eclass/lua.eclass
@@ -297,7 +297,7 @@ lua_add_bdepend() {
lua_get_use_implementations() {
local i=() implementation
for implementation in ${LUA_COMPAT}; do
- if [[ -z "${LUA_IGNORE_TARGET_DUPLICATION}" ]] && [ "${implementation}" = "lua51" ] && in_iuse lua_targets_luajit2 && use lua_targets_luajit2; then
+ if [[ -z "${LUA_IGNORE_TARGET_DUPLICATION}" ]] && [ "${implementation}" = "lua51" ] && in_iuse lua_targets_luajit2 && use lua_targets_luajit2 && use lua_targets_lua51; then
ewarn "LuaJIT using same LMOD/CMOD install paths as lua51."
ewarn "Lua target 'lua51' was skipped to avoid useless double compilation and file overwrites."
ewarn "If you definitelly want to compile lua51 target for nothing (i.e. you're maintainer),"