]> code.ossystems Code Review - openembedded-core.git/commit
bison/gettext: add --with-bisonlocaledir to assign BISON_LOCALEDIR
authorHongxu Jia <hongxu.jia@windriver.com>
Fri, 19 Feb 2016 05:54:41 +0000 (00:54 -0500)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Sun, 28 Feb 2016 11:32:33 +0000 (11:32 +0000)
commitaafb300a1f144b9ebda61a02fedd124fe0e1a83a
treeefd070b1acf23fcb3f735bb6c18c8752e847e19f
parentb806e4c004a7e10461fe7428fc130a5aa2528039
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]

Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
meta/recipes-core/gettext/gettext-0.19.6/add-with-bisonlocaledir.patch [new file with mode: 0644]
meta/recipes-core/gettext/gettext_0.19.6.bb
meta/recipes-devtools/bison/bison/add-with-bisonlocaledir.patch [new file with mode: 0644]
meta/recipes-devtools/bison/bison_3.0.4.bb