summaryrefslogtreecommitdiff
path: root/libraries/LuaBitOp/Makefile.patch
diff options
context:
space:
mode:
authorGerardo Zamudio <gerardo.zamudio@linux.com>2017-10-06 00:14:30 +0100
committerDavid Spencer <idlemoor@slackbuilds.org>2017-10-06 00:14:30 +0100
commitea29eb6b976e9e727c456cb510e045147bcd211f (patch)
tree5919a74af33cfaa9b4f93cca499c2020b9c15e1f /libraries/LuaBitOp/Makefile.patch
parentb897d837cb4138ebf38b107b12b0a59b1b531b59 (diff)
downloadslackbuilds-ea29eb6b976e9e727c456cb510e045147bcd211f.tar.gz
libraries/LuaBitOp: Added (bitwise operations on numbers for Lua).
Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
Diffstat (limited to 'libraries/LuaBitOp/Makefile.patch')
-rw-r--r--libraries/LuaBitOp/Makefile.patch15
1 files changed, 15 insertions, 0 deletions
diff --git a/libraries/LuaBitOp/Makefile.patch b/libraries/LuaBitOp/Makefile.patch
new file mode 100644
index 0000000000..b6841e5c85
--- /dev/null
+++ b/libraries/LuaBitOp/Makefile.patch
@@ -0,0 +1,15 @@
+# Obtained from Springdale Linux (SDL) RPM
+diff -up LuaBitOp-1.0.2/Makefile.destdir LuaBitOp-1.0.2/Makefile
+--- Makefile.destdir 2012-05-08 13:15:00.000000000 -0600
++++ Makefile 2014-06-26 11:20:14.380263499 -0600
+@@ -39,7 +39,9 @@
+ $(SOCC) $(SOLDFLAGS) -o $@ $<
+
+ install: $(MODSO)
+- $(INSTALL) $< `$(INSTALLPATH) $(MODNAME)`
++ file=$(DESTDIR)`$(INSTALLPATH) $(MODNAME)`; \
++ mkdir -p `dirname $$file`; \
++ $(INSTALL) $< $$file
+
+ test: $(MODSO)
+ @$(LUA) bittest.lua && echo "basic test OK"