]> code.ossystems Code Review - openembedded-core.git/commit
meta: fix build with gettext 0.16.1
authorRobert Yang <liezhi.yang@windriver.com>
Thu, 17 Sep 2015 07:46:27 +0000 (00:46 -0700)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Thu, 1 Oct 2015 06:40:22 +0000 (07:40 +0100)
commit48c168334bb60937653ab782026948d139603f8e
tree5ad7254c70043e4317183bfd2efb08f1affe2b71
parent8eb5bd93614db57654d9d3fcc2edcf6f26f148a6
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.

Add gettext-native to DEPENDS will fix the problem.

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
13 files changed:
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-kernel/oprofile/oprofileui-server_git.bb
meta/recipes-kernel/oprofile/oprofileui_git.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