The cirros image was rebuilt against the 3.13.0-83 kernel, drivers e1000e, igbvf...
[packages/trusty/cirros-testvm.git] / cirros-testvm / src-cirros / buildroot-2015.05 / package / lua / 5.1.5 / 0001-root-path.patch
1 Adjust installation location to /usr.
2
3 Signed-off-by: Francois Perrad <francois.perrad@gadz.org>
4
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
11  
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"
24  
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  \