Hello, Jo.

It looks like almost working PROVIDES mechanism if we rename "lua" to something 
else and make such packages provides lua/liblua/whatever. But the problem arise 
with metadata.pl when generating "tmp/.packagedeps" which doesn't handle 
"vdepends" well. While it tries to handle virtual depends, but doesn't store 
correct "src" field for the package. So, first source path (it is Lua usually) 
has been choosen.

Ok, should I make a patch (create Config.in for utils/lua + check CONFIG_ARCH 
values) to switch between Lua/LuaJIT? Or just open a ticket?


30.06.2016, 18:50, "Jo-Philipp Wich" <j...@mein.io>:
> Hi Anton,
>
> the problem is that there is no working PROVIDES mechanism in the
> buildroot.
>
> We could only modify the Lua package to either build Luajit (for
> supported arches) or PUC 5.1 one, depending on a menuconfig setting.
>
> Can't think of a better solution.
>
> ~ Jo

-- 
Anton D. Kachalov

ITO, Systems Architect
Tel: 7 (495) 739-70-00 ext.7613
_______________________________________________
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel

Reply via email to