python-dataproperty: bump version to 0.17.0
[buildroot-gz.git] / package / lua / 5.1.5 / 0001-root-path.patch
blobfd0da6eb57880f88c3e25821ab89c085c6ef2e87
1 Adjust installation location to /usr.
3 Signed-off-by: Francois Perrad <francois.perrad@gadz.org>
5 Index: b/etc/lua.pc
6 ===================================================================
7 --- a/etc/lua.pc
8 +++ b/etc/lua.pc
9 @@ -8,7 +8,7 @@
10 R= 5.1.5
12 # grep '^INSTALL_.*=' ../Makefile | sed 's/INSTALL_TOP/prefix/'
13 -prefix= /usr/local
14 +prefix= /usr
15 INSTALL_BIN= ${prefix}/bin
16 INSTALL_INC= ${prefix}/include
17 INSTALL_LIB= ${prefix}/lib
18 Index: b/src/luaconf.h
19 ===================================================================
20 --- a/src/luaconf.h
21 +++ b/src/luaconf.h
22 @@ -94,7 +94,7 @@
23 ".\\?.dll;" LUA_CDIR"?.dll;" LUA_CDIR"loadall.dll"
25 #else
26 -#define LUA_ROOT "/usr/local/"
27 +#define LUA_ROOT "/usr/"
28 #define LUA_LDIR LUA_ROOT "share/lua/5.1/"
29 #define LUA_CDIR LUA_ROOT "lib/lua/5.1/"
30 #define LUA_PATH_DEFAULT \