2012-07-17 10:18:27 +02:00
|
|
|
Adjust installation location to /usr.
|
|
|
|
|
2012-07-17 10:18:28 +02:00
|
|
|
Signed-off-by: Francois Perrad <francois.perrad@gadz.org>
|
|
|
|
|
|
|
|
Index: b/etc/lua.pc
|
|
|
|
===================================================================
|
|
|
|
--- a/etc/lua.pc
|
|
|
|
+++ b/etc/lua.pc
|
2014-01-11 16:42:05 +01:00
|
|
|
@@ -8,7 +8,7 @@
|
2012-07-17 10:18:28 +02:00
|
|
|
R= 5.1.5
|
|
|
|
|
|
|
|
# grep '^INSTALL_.*=' ../Makefile | sed 's/INSTALL_TOP/prefix/'
|
|
|
|
-prefix= /usr/local
|
|
|
|
+prefix= /usr
|
|
|
|
INSTALL_BIN= ${prefix}/bin
|
|
|
|
INSTALL_INC= ${prefix}/include
|
|
|
|
INSTALL_LIB= ${prefix}/lib
|
2012-07-14 15:11:59 +02:00
|
|
|
Index: b/src/luaconf.h
|
|
|
|
===================================================================
|
|
|
|
--- a/src/luaconf.h
|
|
|
|
+++ b/src/luaconf.h
|
2014-01-11 16:42:05 +01:00
|
|
|
@@ -94,7 +94,7 @@
|
2010-04-29 23:03:45 +02:00
|
|
|
".\\?.dll;" LUA_CDIR"?.dll;" LUA_CDIR"loadall.dll"
|
|
|
|
|
|
|
|
#else
|
|
|
|
-#define LUA_ROOT "/usr/local/"
|
|
|
|
+#define LUA_ROOT "/usr/"
|
2014-01-11 16:42:05 +01:00
|
|
|
#define LUA_LDIR LUA_ROOT "share/lua/5.1/"
|
|
|
|
#define LUA_CDIR LUA_ROOT "lib/lua/5.1/"
|
2010-04-29 23:03:45 +02:00
|
|
|
#define LUA_PATH_DEFAULT \
|