summaryrefslogtreecommitdiffstats
path: root/meta/recipes-core/ncurses/ncurses.inc
diff options
context:
space:
mode:
Diffstat (limited to 'meta/recipes-core/ncurses/ncurses.inc')
-rw-r--r--meta/recipes-core/ncurses/ncurses.inc27
1 files changed, 26 insertions, 1 deletions
diff --git a/meta/recipes-core/ncurses/ncurses.inc b/meta/recipes-core/ncurses/ncurses.inc
index f9f1202e9c..91f188aec5 100644
--- a/meta/recipes-core/ncurses/ncurses.inc
+++ b/meta/recipes-core/ncurses/ncurses.inc
@@ -6,7 +6,7 @@ LIC_FILES_CHKSUM = "file://ncurses/base/version.c;beginline=1;endline=27;md5=cbc
6SECTION = "libs" 6SECTION = "libs"
7DEPENDS = "ncurses-native" 7DEPENDS = "ncurses-native"
8DEPENDS_virtclass-native = "" 8DEPENDS_virtclass-native = ""
9INC_PR = "r12" 9INC_PR = "r13"
10 10
11inherit autotools binconfig multilib_header 11inherit autotools binconfig multilib_header
12 12
@@ -54,6 +54,31 @@ EX_TERMINFO = ""
54EX_TERMINFO_virtclass-native = ":/etc/terminfo:/usr/share/misc/terminfo:/lib/terminfo" 54EX_TERMINFO_virtclass-native = ":/etc/terminfo:/usr/share/misc/terminfo:/lib/terminfo"
55EX_TERMINFO_virtclass-nativesdk = ":/etc/terminfo:/usr/share/misc/terminfo:/lib/terminfo" 55EX_TERMINFO_virtclass-nativesdk = ":/etc/terminfo:/usr/share/misc/terminfo:/lib/terminfo"
56 56
57# Display corruption occurs on 64 bit hosts without these settings
58# This was derrived from the upstream debian ncurses which uses
59# these settings for 32 and 64 bit hosts.
60EXCONFIG_ARGS = ""
61EXCONFIG_ARGS_virtclass-native = " \
62 --disable-lp64 \
63 --with-chtype='long' \
64 --with-mmask-t='long'"
65EXCONFIG_ARGS_virtclass-nativesdk = " \
66 --disable-lp64 \
67 --with-chtype='long' \
68 --with-mmask-t='long'"
69
70# Fall back to the host termcap / terminfo for -nativesdk and -native
71# The reality is a work around for strange problems with things like
72# "bitbake -c menuconfig busybox" where it cannot find the terminfo
73# because the sstate had a hard coded search path. Until this is fixed
74# another way this is deemed good enough.
75EX_TERMCAP = ""
76EX_TERMCAP_virtclass-native = ":/etc/termcap:/usr/share/misc/termcap"
77EX_TERMCAP_virtclass-nativesdk = ":/etc/termcap:/usr/share/misc/termcap"
78EX_TERMINFO = ""
79EX_TERMINFO_virtclass-native = ":/etc/terminfo:/usr/share/misc/terminfo:/lib/terminfo"
80EX_TERMINFO_virtclass-nativesdk = ":/etc/terminfo:/usr/share/misc/terminfo:/lib/terminfo"
81
57# Helper function for do_configure to allow multiple configurations 82# Helper function for do_configure to allow multiple configurations
58# $1 the directory to run configure in 83# $1 the directory to run configure in
59# $@ the arguments to pass to configure 84# $@ the arguments to pass to configure