summaryrefslogtreecommitdiff
path: root/community/luasocket/luasocket-arch.patch
diff options
context:
space:
mode:
Diffstat (limited to 'community/luasocket/luasocket-arch.patch')
-rw-r--r--community/luasocket/luasocket-arch.patch14
1 files changed, 14 insertions, 0 deletions
diff --git a/community/luasocket/luasocket-arch.patch b/community/luasocket/luasocket-arch.patch
new file mode 100644
index 000000000..f578831eb
--- /dev/null
+++ b/community/luasocket/luasocket-arch.patch
@@ -0,0 +1,14 @@
+diff -wbBur luasocket-2.0.2/config luasocket-2.0.2.my/config
+--- luasocket-2.0.2/config 2007-10-15 08:21:05.000000000 +0400
++++ luasocket-2.0.2.my/config 2007-10-15 12:22:16.000000000 +0400
+@@ -30,8 +30,8 @@
+ #
+ #INSTALL_TOP_SHARE=/usr/local/share/lua/5.0
+ #INSTALL_TOP_LIB=/usr/local/lib/lua/5.0
+-INSTALL_TOP_SHARE=/usr/local/share/lua/5.1
+-INSTALL_TOP_LIB=/usr/local/lib/lua/5.1
++INSTALL_TOP_SHARE=$(DESTDIR)/usr/share/lua/5.1
++INSTALL_TOP_LIB=$(DESTDIR)/usr/lib/lua/5.1
+
+ INSTALL_DATA=cp
+ INSTALL_EXEC=cp