summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTrevor Woerner <twoerner@gmail.com>2016-12-20 11:11:58 -0500
committerRichard Purdie <richard.purdie@linuxfoundation.org>2016-12-22 08:50:17 +0000
commitd09de75601b68eb1aebc26362140d19603286775 (patch)
tree6106b4bc653f5f4f509a50e45df4896f867b6751
parentabe29fec2a955a328499ac757cb8eae3c0c871d4 (diff)
downloadpoky-d09de75601b68eb1aebc26362140d19603286775.tar.gz
ncurses.inc: add v6 binconfig-disabled entries
Newer host distributions are moving to ncurses6, therefore add entries so the host's ncurses{w}6-config scripts aren't picked up. (From OE-Core rev: 0174152272c546dd6cb6bc4b7238c232ab9133b3) Signed-off-by: Trevor Woerner <twoerner@gmail.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r--meta/classes/binconfig-disabled.bbclass1
-rw-r--r--meta/recipes-core/ncurses/ncurses.inc5
2 files changed, 5 insertions, 1 deletions
diff --git a/meta/classes/binconfig-disabled.bbclass b/meta/classes/binconfig-disabled.bbclass
index 602a669aa1..096b670e12 100644
--- a/meta/classes/binconfig-disabled.bbclass
+++ b/meta/classes/binconfig-disabled.bbclass
@@ -15,6 +15,7 @@ do_install_append () {
15 echo "echo 'ERROR: $x should not be used, use an alternative such as pkg-config' >&2" >> ${D}$x 15 echo "echo 'ERROR: $x should not be used, use an alternative such as pkg-config' >&2" >> ${D}$x
16 echo "echo '--should-not-have-used-$x'" >> ${D}$x 16 echo "echo '--should-not-have-used-$x'" >> ${D}$x
17 echo "exit 1" >> ${D}$x 17 echo "exit 1" >> ${D}$x
18 chmod +x ${D}$x
18 done 19 done
19} 20}
20 21
diff --git a/meta/recipes-core/ncurses/ncurses.inc b/meta/recipes-core/ncurses/ncurses.inc
index ff0117b822..3f4bf67aa9 100644
--- a/meta/recipes-core/ncurses/ncurses.inc
+++ b/meta/recipes-core/ncurses/ncurses.inc
@@ -7,7 +7,8 @@ SECTION = "libs"
7DEPENDS = "ncurses-native" 7DEPENDS = "ncurses-native"
8DEPENDS_class-native = "" 8DEPENDS_class-native = ""
9 9
10BINCONFIG = "${bindir}/ncurses5-config ${bindir}/ncursesw5-config" 10BINCONFIG = "${bindir}/ncurses5-config ${bindir}/ncursesw5-config \
11 ${bindir}/ncurses6-config ${bindir}/ncursesw6-config"
11 12
12inherit autotools binconfig-disabled multilib_header pkgconfig 13inherit autotools binconfig-disabled multilib_header pkgconfig
13 14
@@ -278,6 +279,8 @@ FILES_${PN} = "\
278 ${bindir}/tset \ 279 ${bindir}/tset \
279 ${bindir}/ncurses5-config \ 280 ${bindir}/ncurses5-config \
280 ${bindir}/ncursesw5-config \ 281 ${bindir}/ncursesw5-config \
282 ${bindir}/ncurses6-config \
283 ${bindir}/ncursesw6-config \
281 ${datadir}/tabset \ 284 ${datadir}/tabset \
282" 285"
283 286