package/minetest: depend on LuaJIT
authorJames Hilliard <james.hilliard1@gmail.com>
Mon, 25 May 2020 00:48:42 +0000 (18:48 -0600)
committerYann E. MORIN <yann.morin.1998@free.fr>
Mon, 27 Jul 2020 20:29:54 +0000 (22:29 +0200)
Luajit is a provider for luainterpreter. We can't select providers of
virtual packages; we can only depend on them.

Signed-off-by: James Hilliard <james.hilliard1@gmail.com>
[yann.morin.1998@free.fr:
  - a lua interpreter is needed, so don't drop the dependency
  - make it a "depends on" rather than a "select"
]
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
package/minetest/Config.in

index 085525534d6daa246b31e8e26789869f931742a1..b8ee175d52cc099db1e1d6dd71bab485bd959340 100644 (file)
@@ -5,11 +5,10 @@ config BR2_PACKAGE_MINETEST
        depends on BR2_TOOLCHAIN_HAS_THREADS
        depends on BR2_PACKAGE_XORG7 # irrlicht
        depends on BR2_PACKAGE_HAS_LIBGL # irrlicht
-       depends on BR2_PACKAGE_LUAJIT_ARCH_SUPPORTS
+       depends on BR2_PACKAGE_LUAJIT
        select BR2_PACKAGE_IRRLICHT
        select BR2_PACKAGE_GMP
        select BR2_PACKAGE_JSONCPP
-       select BR2_PACKAGE_LUAJIT
        select BR2_PACKAGE_SQLITE
        select BR2_PACKAGE_ZLIB
        # At least one option must be enabled
@@ -59,7 +58,6 @@ comment "minetest needs a toolchain w/ C++, gcc >= 4.9, threads"
                || !BR2_TOOLCHAIN_HAS_THREADS
 
 comment "minetest needs X11 and an OpenGL provider"
-       depends on BR2_PACKAGE_LUAJIT_ARCH_SUPPORTS
        depends on (BR2_INSTALL_LIBSTDCPP \
                && BR2_TOOLCHAIN_GCC_AT_LEAST_4_9 \
                && BR2_TOOLCHAIN_HAS_THREADS)