summaryrefslogtreecommitdiffstats
path: root/package/lua/5.2.3/lua-01-root-path.patch
blob: c6f242c20e0b8c3755d59ea32db2d2ec86e25d99 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
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  \
OpenPOWER on IntegriCloud