1 |
> |
2 |
> Thanks. But I think we can simplify that for now, since lua53 isn't |
3 |
> available (neither in the official tree or the lua overlay) and |
4 |
> |
5 |
> >=lua-5.2 is hardmasked. |
6 |
|
7 |
Anyway, I think, we need "my default patch for luajit support" here (which, |
8 |
actually, I'd suggest to apply on all packages in the tree, that declares Lua |
9 |
support. Should I start thread about it here?): |
10 |
|
11 |
iuse+=luajit |
12 |
deps~= luajit? (dev-lang/luajit:2) !luajit? ( dev-lang/lua ) |
13 |
or |
14 |
|
15 |
src_configure/install { |
16 |
local lua=lua |
17 |
use luajit && lua=luajit |
18 |
|
19 |
INST_PATH_LMOD=$($(tc-getPKG_CONFIG) --variable INSTALL_LMOD ${lua})" |
20 |
# and/or INST_PATH_CMOD=$($(tc-getPKG_CONFIG) --variable INSTALL_CMOD ${lua})" |
21 |
} |
22 |
|
23 |
instead of "default" hard-dep on puc-rio lua... ;) |
24 |
|
25 |
-- |
26 |
Best regards, |
27 |
mva |