mirror of
https://github.com/thead-yocto-mirror/meta-openembedded
synced 2026-09-17 04:31:56 +02:00
1. upgrade it to 1.2-20150225 2. update the use-pkg-config-for-ncurses-detection.patch 3. remove dialog-static recipe file, since dialog will generate the static library. Signed-off-by: Roy Li <rongqing.li@windriver.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
33 lines
1015 B
Diff
33 lines
1015 B
Diff
Subject: [PATCH] use pkg-config for ncurses detection.
|
|
|
|
Upstream-Status: Inappropriate [configuration]
|
|
|
|
This is a workaround to make dialog be able to build after ncurses-config
|
|
does not work, since the configure file is called directly in dialog bb
|
|
file, and autoconf can not work, make a workaround in configure file.
|
|
|
|
Signed-off-by: Roy Li <rongqing.li@windriver.com>
|
|
---
|
|
configure | 5 ++---
|
|
1 file changed, 2 insertions(+), 3 deletions(-)
|
|
|
|
diff --git a/configure b/configure
|
|
index 8afe3d7..a54bcc1 100755
|
|
--- a/configure
|
|
+++ b/configure
|
|
@@ -11567,9 +11567,8 @@ fi
|
|
|
|
if test "$NCURSES_CONFIG" != none ; then
|
|
|
|
-CPPFLAGS="$CPPFLAGS `$NCURSES_CONFIG --cflags`"
|
|
-
|
|
-cf_add_libs="`$NCURSES_CONFIG --libs`"
|
|
+CPPFLAGS="$CPPFLAGS `pkg-config --short-errors --print-errors --cflags "ncurses" 2>/dev/null`"
|
|
+cf_add_libs="`pkg-config --short-errors --print-errors --libs "ncurses" 2>/dev/null` $LIBS"
|
|
# Filter out duplicates - this happens with badly-designed ".pc" files...
|
|
for cf_add_1lib in $LIBS
|
|
do
|
|
--
|
|
1.7.10.4
|
|
|