Skip to contentSkip to conversation

luaposix: fix runtime dependency

PATCH New Francois Perrad 2 participants 4 messages Sep 19, 2013

lore
Share & tools
lore
#0 lore raw

PATCH 1/2 luaposix: fix runtime dependency

---
 package/luaposix/Config.in |    2 ++
 1 file changed, 2 insertions(+)
package/luaposix/Config.in +2 -0
index 412e07f..598bf11 100644
@@ -1,5 +1,7 @@
 config BR2_PACKAGE_LUAPOSIX
 	bool "luaposix"
+	select BR2_PACKAGE_LUABITOP if BR2_PACKAGE_LUA
+	# LuaBitOp is already included in LuaJIT
 	help
 	  luaposix is a POSIX binding, including curses, for Lua 5.1
 	  and 5.2; Like most libraries it simply binds to C APIs on
Signature · 1 line
1.7.9.5
#1 lore raw

PATCH 2/2 luaposix: add ncurses dependency

luaposix includes a curses binding which is optional and auto-detected by autotools.

---
 package/luaposix/luaposix.mk |    4 ++++
 1 file changed, 4 insertions(+)
package/luaposix/luaposix.mk +4 -0
index 1d1ee6a..64c4406 100644
@@ -12,4 +12,8 @@ LUAPOSIX_DEPENDENCIES = lua host-lua
 LUAPOSIX_CONF_OPT = --libdir="/usr/lib/lua" --datarootdir="/usr/share/lua"
 LUAPOSIX_AUTORECONF = YES
 
+ifeq ($(BR2_PACKAGE_NCURSES),y)
+    LUAPOSIX_DEPENDENCIES += ncurses
+endif
+
 $(eval $(autotools-package))
Signature · 1 line
1.7.9.5
#2 lore raw

PATCH 2/2 luaposix: add ncurses dependency

Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

"Francois" == Francois Perrad <[email protected]> writes:

Francois> luaposix includes a curses binding which is optional and Francois> auto-detected by autotools.

Committed, thanks.

Signature · 1 line
Bye, Peter Korsgaard