aboutsummaryrefslogtreecommitdiffstats
path: root/main/rrdtool/dont-install-in-usr-local.patch
diff options
context:
space:
mode:
Diffstat (limited to 'main/rrdtool/dont-install-in-usr-local.patch')
-rw-r--r--main/rrdtool/dont-install-in-usr-local.patch39
1 files changed, 39 insertions, 0 deletions
diff --git a/main/rrdtool/dont-install-in-usr-local.patch b/main/rrdtool/dont-install-in-usr-local.patch
new file mode 100644
index 0000000000..da63381386
--- /dev/null
+++ b/main/rrdtool/dont-install-in-usr-local.patch
@@ -0,0 +1,39 @@
+
+abuild/postcheck() complains about not putting files in /usr/local
+
+---
+ bindings/lua/compat-5.1r5/compat-5.1.lua | 4 ++--
+ configure.ac | 2 +-
+ 2 files changed, 3 insertions(+), 3 deletions(-)
+
+diff --git a/bindings/lua/compat-5.1r5/compat-5.1.lua b/bindings/lua/compat-5.1r5/compat-5.1.lua
+index b662270..0179122 100644
+--- a/bindings/lua/compat-5.1r5/compat-5.1.lua
++++ b/bindings/lua/compat-5.1r5/compat-5.1.lua
+@@ -52,8 +52,8 @@ package.path = LUA_PATH or os.getenv("LUA_PATH") or
+ package.cpath = LUA_CPATH or os.getenv("LUA_CPATH") or
+ "./?.so;" ..
+ "./l?.so;" ..
+- "/usr/local/lib/lua/5.0/?.so;" ..
+- "/usr/local/lib/lua/5.0/l?.so"
++ "/usr/lib/lua/5.0/?.so;" ..
++ "/usr/lib/lua/5.0/l?.so"
+
+ --
+ -- make sure require works with standard libraries
+diff --git a/configure.ac b/configure.ac
+index 5270b22..8d87da9 100644
+--- a/configure.ac
++++ b/configure.ac
+@@ -864,7 +864,7 @@ LUA_EOF
+ AC_MSG_WARN(Setting Lua include and lib flags to defaults in compat-5.1 and lua 5.1 sources)
+ LUA_CFLAGS="-I/usr/local/include -I/usr/local/include/lua -I/usr/local/include/lua/$lua_vdot"
+ LUA_LFLAGS="-L/usr/local/lib -L/usr/local/lib/lua -L/usr/local/lib/lua/$lua_vdot $lua_libs"
+- LUA_INSTALL_CMOD="/usr/local/lib/lua/$lua_vdot"
++ LUA_INSTALL_CMOD="/usr/lib/lua/$lua_vdot"
+ fi
+
+ dnl pass additional lua options
+--
+2.11.1
+