termux-packages/packages/luarocks/configure.patch
2017-10-15 01:02:39 +02:00

31 lines
1005 B
Diff

diff -u -r ../luarocks-2.4.3/configure ./configure
--- ../luarocks-2.4.3/configure 2017-09-13 01:46:14.000000000 +0200
+++ ./configure 2017-10-14 23:43:39.753730578 +0200
@@ -305,26 +305,6 @@
}
fi
-if [ "$lua_interp_found" != "yes" ]
-then
- [ "$LUA_VERSION_SET" ] && { interp="Lua $LUA_VERSION" ;} || { interp="Lua" ;}
- [ "$LUA_DIR_SET" -o "$LUA_BINDIR_SET" ] && { where="$LUA_BINDIR" ;} || { where="\$PATH" ;}
- echo "$interp interpreter not found in $where"
- die "You may want to use the flags --with-lua, --with-lua-bin and/or --lua-suffix. See --help."
-fi
-
-if [ "$LUA_VERSION_SET" = "yes" ]
-then
- echo_n "Checking if $LUA_BINDIR/lua$LUA_SUFFIX is Lua version $LUA_VERSION... "
- if detect_lua_version "$LUA_BINDIR/lua$LUA_SUFFIX"
- then
- echo "yes"
- else
- echo "no"
- die "You may want to use the flags --with-lua, --with-lua-bin and/or --lua-suffix. See --help."
- fi
-fi
-
if [ "$LUA_INCDIR_SET" != "yes" ]
then
LUA_INCDIR="$LUA_DIR/include"