summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVadim A. Misbakh-Soloviov <git@mva.name>2017-11-01 19:18:25 +0700
committerVadim A. Misbakh-Soloviov <git@mva.name>2017-11-01 19:18:25 +0700
commitdba34d0c470249bf7ab8f881cf9f9160d2bc6502 (patch)
treef7da4795eea527bc95aab055ad90a4a017632aaa
parentiluajit: fix (diff)
downloadlua-dba34d0c470249bf7ab8f881cf9f9160d2bc6502.tar.gz
lua-dba34d0c470249bf7ab8f881cf9f9160d2bc6502.tar.bz2
lua-dba34d0c470249bf7ab8f881cf9f9160d2bc6502.zip
lua.eclass: prefix-compat work
-rw-r--r--eclass/lua.eclass2
1 files changed, 1 insertions, 1 deletions
diff --git a/eclass/lua.eclass b/eclass/lua.eclass
index 9eba0df..c319f91 100644
--- a/eclass/lua.eclass
+++ b/eclass/lua.eclass
@@ -814,7 +814,7 @@ _lua_install_cmod() {
_lua_jit_insopts() {
[[ "${LUA}" =~ "luajit" ]] || die "Calling dolua_jit for non-jit targets isn't supported"
local insdir=$(${LUA} -e 'print(package.path:match(";(/[^;]+luajit[^;]+)/%?.lua;"))')
- insinto ${insdir}/${_dolua_jit_insdir}
+ insinto ${insdir#${EPREFIX}}/${_dolua_jit_insdir}
insopts -m 0644
}