]> code.ossystems Code Review - openembedded-core.git/commitdiff
Help ncurses-native find terminfo on RHEL 6
authorJeffrey C Honig <jeffrey.honig@windriver.com>
Fri, 1 Mar 2013 02:12:51 +0000 (21:12 -0500)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Sat, 2 Mar 2013 12:53:54 +0000 (12:53 +0000)
[ CQID: WIND00405305 ]

When using ncurses from sstate cache it is not able to find terminfo
for screen on RHEL 6.  While RHEL 6 has /lib/terminfo, it is not
complete, the complete terminfo database is in /usr/share/terminfo.  This
results failure of programs linked to ncurses, such as menuconfig.

Signed-off-by: Jeffrey C Honig <jeffrey.honig@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
meta/recipes-core/ncurses/ncurses.inc

index 9250e9d4517762df79056eea780ee1cf439582b3..040495c84eca27e233c6d0c5f6a73b275202086f 100644 (file)
@@ -6,7 +6,7 @@ LIC_FILES_CHKSUM = "file://ncurses/base/version.c;beginline=1;endline=27;md5=cbc
 SECTION = "libs"
 DEPENDS = "ncurses-native"
 DEPENDS_class-native = ""
-INC_PR = "r14"
+INC_PR = "r15"
 
 inherit autotools binconfig multilib_header
 
@@ -51,8 +51,8 @@ EX_TERMCAP = ""
 EX_TERMCAP_virtclass-native = ":/etc/termcap:/usr/share/misc/termcap"
 EX_TERMCAP_virtclass-nativesdk = ":/etc/termcap:/usr/share/misc/termcap"
 EX_TERMINFO = ""
-EX_TERMINFO_virtclass-native = ":/etc/terminfo:/usr/share/misc/terminfo:/lib/terminfo"
-EX_TERMINFO_virtclass-nativesdk = ":/etc/terminfo:/usr/share/misc/terminfo:/lib/terminfo"
+EX_TERMINFO_virtclass-native = ":/etc/terminfo:/usr/share/terminfo:/usr/share/misc/terminfo:/lib/terminfo"
+EX_TERMINFO_virtclass-nativesdk = ":/etc/terminfo:/usr/share/terminfo:/usr/share/misc/terminfo:/lib/terminfo"
 
 # Helper function for do_configure to allow multiple configurations
 # $1 the directory to run configure in