summaryrefslogtreecommitdiff
path: root/lang/LuaJIT/patches
diff options
context:
space:
mode:
authorrillig <rillig@pkgsrc.org>2009-07-26 19:34:33 +0000
committerrillig <rillig@pkgsrc.org>2009-07-26 19:34:33 +0000
commite4b29568d651e1e0979ad82e05702e52e468317e (patch)
tree1581ffc65f712f6c19c964ad9b894b38da2e5bfa /lang/LuaJIT/patches
parentf7be48cdf380d61e003eda02994194fe3568a944 (diff)
downloadpkgsrc-e4b29568d651e1e0979ad82e05702e52e468317e.tar.gz
Imported LuaJIT from pkgsrc-wip.
LuaJIT is a Just-In-Time Compiler for the Lua programming language. Lua is a powerful, light-weight programming language designed for extending applications. Lua is also frequently used as a general-purpose, stand-alone language. More information about Lua can be found at: http://www.lua.org/ LuaJIT is based on the Lua 5.1.x virtual machine and bytecode interpreter from lua.org. It compiles bytecode to native x86 (i386+) machine code to speed up the execution of Lua programs. Packaged by pho@cielonegro.org.
Diffstat (limited to 'lang/LuaJIT/patches')
-rw-r--r--lang/LuaJIT/patches/patch-aa34
1 files changed, 34 insertions, 0 deletions
diff --git a/lang/LuaJIT/patches/patch-aa b/lang/LuaJIT/patches/patch-aa
new file mode 100644
index 00000000000..c65b937cb5a
--- /dev/null
+++ b/lang/LuaJIT/patches/patch-aa
@@ -0,0 +1,34 @@
+$NetBSD: patch-aa,v 1.1.1.1 2009/07/26 19:34:33 rillig Exp $
+
+--- Makefile.orig 2008-10-25 09:00:00.000000000 +0900
++++ Makefile
+@@ -61,15 +61,22 @@ test: dummy
+ src/luajit -O -e 'io.write("Hello world, from ", jit.version, "!\n")'
+
+ install: dummy
+- cd src && $(MKDIR) $(INSTALL_BIN) $(INSTALL_INC) $(INSTALL_LIB) $(INSTALL_MAN) $(INSTALL_LMOD) $(INSTALL_CMOD) $(INSTALL_LMOD)/jit
+- cd src && $(INSTALL_EXEC) $(TO_BIN) $(INSTALL_BIN)
+- ###cd src && $(INSTALL_DATA) $(TO_INC) $(INSTALL_INC)
+- ###cd src && $(INSTALL_DATA) $(TO_LIB) $(INSTALL_LIB)
+- ###cd doc && $(INSTALL_DATA) $(TO_MAN) $(INSTALL_MAN)
+- cd jit && $(INSTALL_DATA) *.lua $(INSTALL_LMOD)/jit
++ cd src && $(MKDIR) \
++ $(DESTDIR)$(INSTALL_BIN) \
++ $(DESTDIR)$(INSTALL_INC) \
++ $(DESTDIR)$(INSTALL_LIB) \
++ $(DESTDIR)$(INSTALL_MAN) \
++ $(DESTDIR)$(INSTALL_LMOD) \
++ $(DESTDIR)$(INSTALL_CMOD) \
++ $(DESTDIR)$(INSTALL_LMOD)/jit
++ cd src && $(INSTALL_EXEC) $(TO_BIN) $(DESTDIR)$(INSTALL_BIN)
++ ###cd src && $(INSTALL_DATA) $(TO_INC) $(DESTDIR)$(INSTALL_INC)
++ ###cd src && $(INSTALL_DATA) $(TO_LIB) $(DESTDIR)$(INSTALL_LIB)
++ ###cd doc && $(INSTALL_DATA) $(TO_MAN) $(DESTDIR)$(INSTALL_MAN)
++ cd jit && $(INSTALL_DATA) *.lua $(DESTDIR)$(INSTALL_LMOD)/jit
+
+ ranlib:
+- cd src && cd $(INSTALL_LIB) && $(RANLIB) $(TO_LIB)
++ cd src && cd $(DESTDIR)$(INSTALL_LIB) && $(RANLIB) $(TO_LIB)
+
+ none:
+ @echo "Please do"