From 9af773f1c6912b008ecdb460c9e93ea9476104b8 Mon Sep 17 00:00:00 2001 From: Hongxu Jia Date: Fri, 19 Feb 2016 00:54:41 -0500 Subject: bison/gettext: add --with-bisonlocaledir to assign BISON_LOCALEDIR MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 Signed-off-by: Ross Burton Signed-off-by: Richard Purdie --- meta/recipes-core/gettext/gettext_0.19.6.bb | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'meta/recipes-core/gettext/gettext_0.19.6.bb') 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" RCONFLICTS_${PN} = "proxy-libintl" SRC_URI = "${GNU_MIRROR}/gettext/gettext-${PV}.tar.gz \ file://parallel.patch \ + file://add-with-bisonlocaledir.patch \ " PACKAGECONFIG[msgcat-curses] = "--with-libncurses-prefix=${STAGING_LIBDIR}/..,--disable-curses,ncurses," @@ -38,6 +39,9 @@ EXTRA_OECONF += "--without-lispdir \ --with-included-libcroco \ --with-included-libunistring \ " +EXTRA_OECONF_append_class-target = " \ + --with-bisonlocaledir=${datadir}/locale \ +" acpaths = '-I ${S}/gettext-runtime/m4 \ -I ${S}/gettext-tools/m4' -- cgit v1.2.3-54-g00ecf