Patchwork [daisy,4/5] irssi: add --with-ncurses option

login
register
mail settings
Submitter Martin Jansa
Date Aug. 12, 2014, 12:25 p.m.
Message ID <2ba7f3dcaf3cd3c155917342cc4b4e48c6632d43.1407846175.git.Martin.Jansa@gmail.com>
Download mbox | patch
Permalink /patch/78003/
State Accepted, archived
Headers show

Comments

Martin Jansa - Aug. 12, 2014, 12:25 p.m.
* otherwise do_configure tries to find ncurses.h on host and
  disables ncurses support when not found, then build fails because
  of missing -lcurses when using terminfo-core.o:
  | terminfo-core.o: In function `_set_bg':
  | /OE/irssi/0.8.15+0.8.16-rc1-r0/irssi-0.8.16-rc1/src/fe-text/terminfo-core.c:343:
    undefined reference to `tputs'

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
---
 meta-oe/recipes-connectivity/irssi/irssi_0.8.16-rc1.bb | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

Patch

diff --git a/meta-oe/recipes-connectivity/irssi/irssi_0.8.16-rc1.bb b/meta-oe/recipes-connectivity/irssi/irssi_0.8.16-rc1.bb
index 7880a06..1e27a2b 100644
--- a/meta-oe/recipes-connectivity/irssi/irssi_0.8.16-rc1.bb
+++ b/meta-oe/recipes-connectivity/irssi/irssi_0.8.16-rc1.bb
@@ -17,5 +17,6 @@  S = "${WORKDIR}/irssi-${REALPV}"
 
 inherit autotools
 
-EXTRA_OECONF = "--enable-ssl"
-
+EXTRA_OECONF = "--enable-ssl \
+    --with-ncurses=${STAGING_EXECPREFIXDIR} \
+"