diff mbox

[2/2] luaposix: add ncurses dependency

Message ID 1379572299-8191-2-git-send-email-francois.perrad@gadz.org
State Accepted
Headers show

Commit Message

Francois Perrad Sept. 19, 2013, 6:31 a.m. UTC
luaposix includes a curses binding which is optional and auto-detected by autotools.

Signed-off-by: Francois Perrad <francois.perrad@gadz.org>
---
 package/luaposix/luaposix.mk |    4 ++++
 1 file changed, 4 insertions(+)

Comments

Peter Korsgaard Sept. 19, 2013, 7:38 p.m. UTC | #1
>>>>> "Francois" == Francois Perrad <fperrad@gmail.com> writes:

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

Committed, thanks.
diff mbox

Patch

diff --git a/package/luaposix/luaposix.mk b/package/luaposix/luaposix.mk
index 1d1ee6a..64c4406 100644
--- a/package/luaposix/luaposix.mk
+++ b/package/luaposix/luaposix.mk
@@ -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))