diff options
author | Francois Perrad <fperrad@gmail.com> | 2014-01-17 18:47:35 +0100 |
---|---|---|
committer | Peter Korsgaard <peter@korsgaard.com> | 2014-01-21 23:27:13 +0100 |
commit | ba296ab1eaeab5ab68c596f7723932788749c9c6 (patch) | |
tree | aedd7608058c10eee77924dee98edc45a57e2719 /package/lua/5.2.3/lua-01-root-path.patch | |
parent | 93341046d8e25ee6f135a34a8989598de22e32ca (diff) |
lua: choice between 5.1.x & 5.2.x
Signed-off-by: Francois Perrad <francois.perrad@gadz.org>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Diffstat (limited to 'package/lua/5.2.3/lua-01-root-path.patch')
-rw-r--r-- | package/lua/5.2.3/lua-01-root-path.patch | 17 |
1 files changed, 17 insertions, 0 deletions
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 000000000..c6f242c20 --- /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 <francois.perrad@gadz.org> + +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 \ |