Patchwork [meta-oe,3/4] irssi: add --with-ncurses option

login
register
mail settings
Submitter Martin Jansa
Date July 1, 2014, 4:04 p.m.
Message ID <1404230681-5064-3-git-send-email-Martin.Jansa@gmail.com>
Download mbox | patch
Permalink /patch/74531/
State Accepted, archived
Headers show

Comments

Martin Jansa - July 1, 2014, 4:04 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 b4fbf7a..54d881d 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 pkgconfig
 
-EXTRA_OECONF = "--enable-ssl"
-
+EXTRA_OECONF = "--enable-ssl \
+    --with-ncurses=${STAGING_EXECPREFIXDIR} \
+"