summaryrefslogtreecommitdiffstats
path: root/meta/recipes-core/gettext/gettext_0.19.6.bb
diff options
context:
space:
mode:
authorHongxu Jia <hongxu.jia@windriver.com>2016-02-19 00:54:41 -0500
committerRichard Purdie <richard.purdie@linuxfoundation.org>2016-02-28 11:32:58 +0000
commit9af773f1c6912b008ecdb460c9e93ea9476104b8 (patch)
treeab8c070e04d544f604e3bffa51ca68f6eb05a07e /meta/recipes-core/gettext/gettext_0.19.6.bb
parentb14e2ae9bcb53569ecefdaf6ef08fbca6242eb5c (diff)
downloadpoky-9af773f1c6912b008ecdb460c9e93ea9476104b8.tar.gz
bison/gettext: add --with-bisonlocaledir to assign BISON_LOCALEDIR
This issue was triggered by buildpaths QA Warning. ... |gettext-0.19.6: File work/core2-64-poky-linux/gettext/0.19.6-r0/ packages-split/gettext/usr/bin/msgcmp in package contained reference to tmpdir ... Previously, variable BISON_LOCALEDIR was assigned only by the output of 'bison --print-localedir' which provided by native bison that has buildpaths in it. For target compile, we add option --with-bisonlocaledir to set BISON_LOCALEDIR with "/usr/share/locale" to fix the QA issue. The variable BISON_LOCALEDIR is used for internationalization of the bison parser’s runtime output. Here is the introduction: http://www.gnu.org/software/bison/manual/html_node/Internationalization.html [YOCTO #7058] (From OE-Core rev: aafb300a1f144b9ebda61a02fedd124fe0e1a83a) Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-core/gettext/gettext_0.19.6.bb')
-rw-r--r--meta/recipes-core/gettext/gettext_0.19.6.bb4
1 files changed, 4 insertions, 0 deletions
diff --git a/meta/recipes-core/gettext/gettext_0.19.6.bb b/meta/recipes-core/gettext/gettext_0.19.6.bb
index 737561d317..fead06aa85 100644
--- a/meta/recipes-core/gettext/gettext_0.19.6.bb
+++ b/meta/recipes-core/gettext/gettext_0.19.6.bb
@@ -12,6 +12,7 @@ PROVIDES_class-native = "virtual/gettext-native"
12RCONFLICTS_${PN} = "proxy-libintl" 12RCONFLICTS_${PN} = "proxy-libintl"
13SRC_URI = "${GNU_MIRROR}/gettext/gettext-${PV}.tar.gz \ 13SRC_URI = "${GNU_MIRROR}/gettext/gettext-${PV}.tar.gz \
14 file://parallel.patch \ 14 file://parallel.patch \
15 file://add-with-bisonlocaledir.patch \
15 " 16 "
16 17
17PACKAGECONFIG[msgcat-curses] = "--with-libncurses-prefix=${STAGING_LIBDIR}/..,--disable-curses,ncurses," 18PACKAGECONFIG[msgcat-curses] = "--with-libncurses-prefix=${STAGING_LIBDIR}/..,--disable-curses,ncurses,"
@@ -38,6 +39,9 @@ EXTRA_OECONF += "--without-lispdir \
38 --with-included-libcroco \ 39 --with-included-libcroco \
39 --with-included-libunistring \ 40 --with-included-libunistring \
40 " 41 "
42EXTRA_OECONF_append_class-target = " \
43 --with-bisonlocaledir=${datadir}/locale \
44"
41 45
42acpaths = '-I ${S}/gettext-runtime/m4 \ 46acpaths = '-I ${S}/gettext-runtime/m4 \
43 -I ${S}/gettext-tools/m4' 47 -I ${S}/gettext-tools/m4'