aboutsummaryrefslogtreecommitdiffstats
path: root/recipes/ncurses
diff options
context:
space:
mode:
authorEnrico Scholz <enrico.scholz@sigma-chemnitz.de>2010-08-29 21:38:44 +0200
committerEnrico Scholz <enrico.scholz@informatik.tu-chemnitz.de>2010-08-29 21:51:13 +0200
commit39294e54baf06ec0cf49658a1964ee67a619fb34 (patch)
tree942b97d04749e661c990954268f0a14aa1a40cbf /recipes/ncurses
parentc73d107c2ff73d89976c58331dbf8f9fa2174631 (diff)
downloadopenembedded-39294e54baf06ec0cf49658a1964ee67a619fb34.tar.gz
ncurses: set some configure cache variables
Corresponding tests returned either wrong results or were generally broken. Test for GPM was not prepared for crosscompiling and GPM support has been disabled hence. Signed-off-by: Enrico Scholz <enrico.scholz@sigma-chemnitz.de>
Diffstat (limited to 'recipes/ncurses')
-rw-r--r--recipes/ncurses/ncurses-5.7/config.cache4
-rw-r--r--recipes/ncurses/ncurses_5.7.bb8
2 files changed, 12 insertions, 0 deletions
diff --git a/recipes/ncurses/ncurses-5.7/config.cache b/recipes/ncurses/ncurses-5.7/config.cache
new file mode 100644
index 0000000000..6a9217d5bb
--- /dev/null
+++ b/recipes/ncurses/ncurses-5.7/config.cache
@@ -0,0 +1,4 @@
+#! /bin/sh
+
+cf_cv_func_nanosleep=yes
+cf_cv_func_mkstemp=yes
diff --git a/recipes/ncurses/ncurses_5.7.bb b/recipes/ncurses/ncurses_5.7.bb
index 10cc3116d1..a523163aea 100644
--- a/recipes/ncurses/ncurses_5.7.bb
+++ b/recipes/ncurses/ncurses_5.7.bb
@@ -16,6 +16,7 @@ SRC_URI = "${GNU_MIRROR}/ncurses/ncurses-${PV}.tar.gz;name=tarball \
\
ftp://invisible-island.net/ncurses/5.7/ncurses-5.7-${PATCHDATE}.patch.gz;name=p20100501 \
file://tic-hang.patch \
+ file://config.cache \
"
SRC_URI[tarball.md5sum] = "cce05daf61a64501ef6cd8da1f727ec6"
@@ -27,6 +28,7 @@ SRC_URI[p20100501.sha256sum] = "a97ccc30e4bd6fbb89564f3058db0fe84bd35cfefee83155
PARALLEL_MAKE = ""
EXTRA_AUTORECONF = "-I m4"
+CONFIG_SITE =+ "${WORKDIR}/config.cache"
# Whether to enable separate widec libraries; must be 'true' or 'false'
ENABLE_WIDEC = "true"
@@ -38,6 +40,11 @@ ENABLE_WIDEC_virtclass-native = "false"
# patched autoconf213 to generate the configure script. This autoconf
# is not available so that the shipped script will be used.
do_configure() {
+ # check does not work with cross-compiling and is generally
+ # broken because it requires stdin to be pollable (which is
+ # not the case for /dev/null redirections)
+ export cf_cv_working_poll=yes
+
for i in \
'narrowc' \
'widec --enable-widec --without-progs'; do
@@ -50,6 +57,7 @@ do_configure() {
--disable-static \
--without-debug \
--without-ada \
+ --without-gpm \
--enable-hard-tabs \
--enable-xmc-glitch \
--enable-colorfgbg \