• Skip to sidebar navigation
  • Skip to content

Bitbucket

  • More
    ProjectsRepositories
  • Help
    • Online help
    • Learn Git
    • Welcome to Bitbucket
    • Keyboard shortcuts
  • Log In
Alexander Dahl
  1. Alexander Dahl

buildroot

Public
Actions
  • Clone
  • Compare

Learn more about cloning repositories

You have read-only access

Navigation
  • Source
  • Commits
  • Branches
  • All Branches Graph
  • Forks
  1. Alexander Dahl
  2. buildroot

Source

buildroot/package/lua/5.1.5/0001-root-path.patch
Francois PerradFrancois Perrad committed 6b0fbd0020f24 Dec 2014
Raw file
Source viewDiff to previous
xxxxxxxxxx
 
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  \
  • Git repository management for enterprise teams powered by Atlassian Bitbucket
  • Atlassian Bitbucket v6.7.2
  • Documentation
  • Request a feature
  • About
  • Contact Atlassian
Atlassian

Everything looks good. We'll let you know here if there's anything you should know about.