Patchwork [3/5] ncurses: drop compatibility symlink to remove QA warning

login
register
mail settings
Submitter lumag
Date Dec. 18, 2011, 7:47 p.m.
Message ID <1324237652-15618-3-git-send-email-dbaryshkov@gmail.com>
Download mbox | patch
Permalink /patch/17201/
State New
Headers show

Comments

lumag - Dec. 18, 2011, 7:47 p.m.
ncurses doesn't use ${libdir}/terminfo. It is a backwards-compatibility
symlink to ${datadir}/terminfo. It is not installed by ncurses recipe.
Drop it to drop QA warning.

Signed-off-by: Dmitry Eremin-Solenikov <dbaryshkov@gmail.com>
---
 meta/recipes-core/ncurses/ncurses.inc |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

Patch

diff --git a/meta/recipes-core/ncurses/ncurses.inc b/meta/recipes-core/ncurses/ncurses.inc
index 98f45a4..1449f34 100644
--- a/meta/recipes-core/ncurses/ncurses.inc
+++ b/meta/recipes-core/ncurses/ncurses.inc
@@ -171,6 +171,8 @@  do_install() {
         echo 'INPUT(AS_NEEDED(-ltinfo))' >>$f
 
 	oe_multilib_header curses.h
+
+	rm ${D}${libdir}/terminfo
 }
 
 python populate_packages_prepend () {