[oe-commits] Enrico Scholz : ncurses: set some configure cache variables
git version control
git at git.openembedded.org
Sun Aug 29 19:54:48 UTC 2010
Module: openembedded.git
Branch: org.openembedded.dev
Commit: 39294e54baf06ec0cf49658a1964ee67a619fb34
URL: http://gitweb.openembedded.net/?p=openembedded.git&a=commit;h=39294e54baf06ec0cf49658a1964ee67a619fb34
Author: Enrico Scholz <enrico.scholz at sigma-chemnitz.de>
Date: Sun Aug 29 21:38:44 2010 +0200
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 at sigma-chemnitz.de>
---
recipes/ncurses/ncurses-5.7/config.cache | 4 ++++
recipes/ncurses/ncurses_5.7.bb | 8 ++++++++
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 0000000..6a9217d
--- /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 10cc311..a523163 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 \
More information about the Openembedded-commits
mailing list