From 38f0ffaf4349087ee34ff245f9d8e047bb4e9dea Mon Sep 17 00:00:00 2001 From: Robert Yang Date: Thu, 17 Sep 2015 00:46:27 -0700 Subject: 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 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. (From OE-Core rev: 48c168334bb60937653ab782026948d139603f8e) Signed-off-by: Robert Yang Signed-off-by: Richard Purdie --- meta/recipes-sato/puzzles/oh-puzzles_git.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'meta/recipes-sato/puzzles') diff --git a/meta/recipes-sato/puzzles/oh-puzzles_git.bb b/meta/recipes-sato/puzzles/oh-puzzles_git.bb index 36cd2cc7a2..9876fe0fd1 100644 --- a/meta/recipes-sato/puzzles/oh-puzzles_git.bb +++ b/meta/recipes-sato/puzzles/oh-puzzles_git.bb @@ -8,7 +8,7 @@ LIC_FILES_CHKSUM = "file://LICENCE;md5=f56ec6772dd1c7c367067bbea8ea1675 \ file://src/tree234.c;endline=28;md5=b4feb1976feebf8f1379093ed52f2945" SECTION = "x11" -DEPENDS = "gtk+ gconf intltool-native librsvg" +DEPENDS = "gtk+ gconf intltool-native librsvg gettext-native" # libowl requires x11 in DISTRO_FEATURES DEPENDS_append_poky = " ${@bb.utils.contains('DISTRO_FEATURES', 'x11', 'libowl', '', d)}" -- cgit v1.2.3-54-g00ecf