]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/commit
meta: fix build with gettext 0.16.1 rbt/low_version
authorRobert Yang <liezhi.yang@windriver.com>
Thu, 17 Sep 2015 07:39:35 +0000 (00:39 -0700)
committerRobert Yang <liezhi.yang@windriver.com>
Fri, 18 Sep 2015 02:31:46 +0000 (19:31 -0700)
commit7fab77e612b616c57fa474334a2415477828fe58
treee13f1c63d547853c7c1e6b223a9a777b8639af05
parentf0189829498e30231d826c9f55aad73e622d076e
meta: fix build with gettext 0.16.1

The gettext 0.16.1 doesn't install any m4 files to sysroot, please see
the following commit:

  commit 9e10db5bdfe77c0ef2aff2f1cf89958b62c294a1
  Author: Christopher Larson <kergoth@gmail.com>
  Date:   Mon Mar 17 18:10:54 2014 +0000

      gettext-0.16.1: kill target m4 macros from sysroot

This is aim for using gettext-native's macros(gettext-native-0.19.4),
but when we set:
  PREFERRED_VERSION_gettext = "0.16.1"
And build the recipes like pcmanfm, we would get errors when
do_configure:

configure:5164: error: possibly undefined macro: AM_NLS

This is because autotools_copy_aclocals doesn't copy the native macros
for target unless they're direct dependencies.

inherit gettext will fix the problem.

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
meta/recipes-connectivity/connman/connman-gnome_0.7.bb
meta/recipes-gnome/gtk-engines/gtk-engines_2.20.2.bb
meta/recipes-gnome/libsecret/libsecret_0.18.2.bb
meta/recipes-graphics/xorg-app/xwininfo_1.1.3.bb
meta/recipes-sato/leafpad/leafpad_0.8.18.1.bb
meta/recipes-sato/pcmanfm/pcmanfm_1.2.3.bb
meta/recipes-sato/puzzles/oh-puzzles_git.bb
meta/recipes-support/atk/at-spi2-core_2.16.0.bb
meta/recipes-support/libfm/libfm-extra_1.2.3.bb
meta/recipes-support/libfm/libfm_1.2.3.bb
meta/recipes-support/pinentry/pinentry_0.9.2.bb