slackbuilds_ponce/libraries/LuaBitOp/Makefile.patch
Gerardo Zamudio ea29eb6b97 libraries/LuaBitOp: Added (bitwise operations on numbers for Lua).
Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
2017-10-06 00:14:30 +01:00

15 lines
491 B
Diff

# 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"