mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-22 19:50:05 +02:00
lua: enable readline, misc cleanup (#8998)
readline is enabled so the the lua REPL has proper support for line editing/arrow keys related to #8972 Also, remove some static library remnants and tweak the TEST command
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
From 1b305c3b464b6e8d24fe76210866dd36f36d1429 Mon Sep 17 00:00:00 2001
|
||||
From cb7c92bdacd0d801b564741a1b456283e1bcd243 Mon Sep 17 00:00:00 2001
|
||||
From: Jerome Duval <jerome.duval@gmail.com>
|
||||
Date: Mon, 5 May 2014 15:59:15 +0000
|
||||
Subject: import patch from 5.2.1
|
||||
@@ -105,5 +105,28 @@ index 137103e..73951a0 100644
|
||||
|
||||
#if !defined(LUA_PATH_DEFAULT)
|
||||
--
|
||||
2.37.3
|
||||
2.39.2
|
||||
|
||||
|
||||
From 36473ed9d445326d7215198ceb970e1fb540b76c Mon Sep 17 00:00:00 2001
|
||||
From: Chris Roberts <cpr420@gmail.com>
|
||||
Date: Thu, 6 Jul 2023 10:28:47 -0600
|
||||
Subject: enable readline support on Haiku
|
||||
|
||||
|
||||
diff --git a/src/Makefile b/src/Makefile
|
||||
index 9c5ff15..f2a74ab 100644
|
||||
--- a/src/Makefile
|
||||
+++ b/src/Makefile
|
||||
@@ -121,7 +121,7 @@ FreeBSD NetBSD OpenBSD freebsd:
|
||||
generic: $(ALL)
|
||||
|
||||
haiku:
|
||||
- $(MAKE) $(ALL) SYSCFLAGS="-DLUA_USE_HAIKU -DLUA_USE_POSIX" LIBS=
|
||||
+ $(MAKE) $(ALL) SYSCFLAGS="-DLUA_USE_HAIKU -DLUA_USE_POSIX -DLUA_USE_READLINE" SYSLIBS="-lreadline"
|
||||
|
||||
ios:
|
||||
$(MAKE) $(ALL) SYSCFLAGS="-DLUA_USE_IOS"
|
||||
--
|
||||
2.39.2
|
||||
|
||||
|
||||
Reference in New Issue
Block a user