1
0
mirror of https://git.yoctoproject.org/poky synced 2026-06-01 00:59:48 +00:00

gettext: relocate msgfmt utility for all recipes

Now that epiphany needs a working msgfmt as well, let's do this trick
where it should be.

(From OE-Core rev: 7c0032b81f56fea5bec33aa0e74d6e28873f72a8)

Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
Alexander Kanavin
2017-06-16 14:37:33 +03:00
committed by Richard Purdie
parent 64bf080489
commit d5d7b49cc5
2 changed files with 4 additions and 4 deletions
@@ -20,10 +20,6 @@ AUTOTOOLS_AUXDIR = "${S}/build-aux"
EXTRA_OECONF = "--enable-compile-warnings"
# This properly relocates msgfmt, which otherwise fails to find its data files.
# Tips on how to get rid of hardcoded version welcome.
export GETTEXTDATADIR = "${STAGING_DATADIR_NATIVE}/gettext-0.19.8/"
PACKAGECONFIG ?= "${@bb.utils.contains_any('DISTRO_FEATURES', '${GTK3DISTROFEATURES}', 'gtk', '', d)}"
PACKAGECONFIG[gtk] = "--enable-gtk,--disable-gtk,gtk+3"
PACKAGECONFIG[polkit] = "--enable-polkit,--disable-polkit,polkit dbus"