aboutsummaryrefslogtreecommitdiff
path: root/libraries/LuaBitOp/Makefile.patch
diff options
context:
space:
mode:
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 0000000000000..b6841e5c856c6
--- /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"