summaryrefslogtreecommitdiffstats
path: root/package/luajit/luajit-04-no-bin-symlink.patch
diff options
context:
space:
mode:
authorFrancois Perrad <fperrad@gmail.com>2012-07-18 15:59:10 +0200
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>2012-07-18 19:33:34 +0200
commitf93e17f0b4d8d9af2867a04c3691f68fd3f4e443 (patch)
treec57973f5a221a80da06f314e430f25687c5bcf4d /package/luajit/luajit-04-no-bin-symlink.patch
parent1d4104f0d0428297a8b447a0e08c81a9eaee7f62 (diff)
downloadbuildroot-novena-f93e17f0b4d8d9af2867a04c3691f68fd3f4e443.tar.gz
buildroot-novena-f93e17f0b4d8d9af2867a04c3691f68fd3f4e443.zip
luajit: new package
Signed-off-by: Francois Perrad <francois.perrad@gadz.org> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Diffstat (limited to 'package/luajit/luajit-04-no-bin-symlink.patch')
-rw-r--r--package/luajit/luajit-04-no-bin-symlink.patch40
1 files changed, 40 insertions, 0 deletions
diff --git a/package/luajit/luajit-04-no-bin-symlink.patch b/package/luajit/luajit-04-no-bin-symlink.patch
new file mode 100644
index 000000000..3eed7decb
--- /dev/null
+++ b/package/luajit/luajit-04-no-bin-symlink.patch
@@ -0,0 +1,40 @@
+Do not use a symlink for the binary, simply name if luajit
+
+Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
+
+Index: b/Makefile
+===================================================================
+--- a/Makefile
++++ b/Makefile
+@@ -41,8 +41,7 @@
+ INSTALL_MAN= $(INSTALL_SHARE)/man/man1
+ INSTALL_PKGCONFIG= $(INSTALL_LIB)/pkgconfig
+
+-INSTALL_TNAME= luajit-$(VERSION)
+-INSTALL_TSYMNAME= luajit
++INSTALL_TNAME= luajit
+ INSTALL_ANAME= libluajit-$(ABIVER).a
+ INSTALL_SONAME= libluajit-$(ABIVER).so.$(MAJVER).$(MINVER).$(RELVER)
+ INSTALL_SOSHORT= libluajit-$(ABIVER).so
+@@ -56,7 +55,6 @@
+ INSTALL_SHORT1= $(INSTALL_LIB)/$(INSTALL_SOSHORT)
+ INSTALL_SHORT2= $(INSTALL_LIB)/$(INSTALL_SOSHORT)
+ INSTALL_T= $(INSTALL_BIN)/$(INSTALL_TNAME)
+-INSTALL_TSYM= $(INSTALL_BIN)/$(INSTALL_TSYMNAME)
+ INSTALL_PC= $(INSTALL_PKGCONFIG)/$(INSTALL_PCNAME)
+
+ INSTALL_DIRS= $(INSTALL_BIN) $(INSTALL_LIB) $(INSTALL_INC) $(INSTALL_MAN) \
+@@ -114,13 +112,6 @@
+ $(RM) $(FILE_PC).tmp
+ cd src && $(INSTALL_F) $(FILES_INC) $(INSTALL_INC)
+ cd lib && $(INSTALL_F) $(FILES_JITLIB) $(INSTALL_JITLIB)
+- @echo "==== Successfully installed LuaJIT $(VERSION) to $(PREFIX) ===="
+- @echo ""
+- @echo "Note: the beta releases deliberately do NOT install a symlink for luajit"
+- @echo "You can do this now by running this command (with sudo):"
+- @echo ""
+- @echo " $(SYMLINK) $(INSTALL_TNAME) $(INSTALL_TSYM)"
+- @echo ""
+
+ ##############################################################################
+