From ba296ab1eaeab5ab68c596f7723932788749c9c6 Mon Sep 17 00:00:00 2001 From: Francois Perrad Date: Fri, 17 Jan 2014 18:47:35 +0100 Subject: lua: choice between 5.1.x & 5.2.x Signed-off-by: Francois Perrad Signed-off-by: Peter Korsgaard --- package/lua/5.2.3/lua-01-root-path.patch | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 package/lua/5.2.3/lua-01-root-path.patch (limited to 'package/lua/5.2.3/lua-01-root-path.patch') diff --git a/package/lua/5.2.3/lua-01-root-path.patch b/package/lua/5.2.3/lua-01-root-path.patch new file mode 100644 index 0000000000..c6f242c20e --- /dev/null +++ b/package/lua/5.2.3/lua-01-root-path.patch @@ -0,0 +1,17 @@ +Adjust installation location to /usr. + +Signed-off-by: Francois Perrad + +Index: b/src/luaconf.h +=================================================================== +--- a/src/luaconf.h ++++ b/src/luaconf.h +@@ -100,7 +100,7 @@ + #else /* }{ */ + + #define LUA_VDIR LUA_VERSION_MAJOR "." LUA_VERSION_MINOR "/" +-#define LUA_ROOT "/usr/local/" ++#define LUA_ROOT "/usr/" + #define LUA_LDIR LUA_ROOT "share/lua/" LUA_VDIR + #define LUA_CDIR LUA_ROOT "lib/lua/" LUA_VDIR + #define LUA_PATH_DEFAULT \ -- cgit v1.2.3