diff options
author | Robert Yang <liezhi.yang@windriver.com> | 2015-09-17 00:46:27 -0700 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2015-10-01 07:43:34 +0100 |
commit | 38f0ffaf4349087ee34ff245f9d8e047bb4e9dea (patch) | |
tree | ba3d58af9339670a50c743ede24be57fc46f2fcd /meta/recipes-kernel/oprofile | |
parent | 56c0fdfd43c61d6568d180683b917223b5ab074f (diff) | |
download | poky-38f0ffaf4349087ee34ff245f9d8e047bb4e9dea.tar.gz |
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.
(From OE-Core rev: 48c168334bb60937653ab782026948d139603f8e)
Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-kernel/oprofile')
-rw-r--r-- | meta/recipes-kernel/oprofile/oprofileui-server_git.bb | 2 | ||||
-rw-r--r-- | meta/recipes-kernel/oprofile/oprofileui_git.bb | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/meta/recipes-kernel/oprofile/oprofileui-server_git.bb b/meta/recipes-kernel/oprofile/oprofileui-server_git.bb index eb3b78b906..cc3477bc7b 100644 --- a/meta/recipes-kernel/oprofile/oprofileui-server_git.bb +++ b/meta/recipes-kernel/oprofile/oprofileui-server_git.bb | |||
@@ -9,7 +9,7 @@ SRC_URI = "git://git.yoctoproject.org/oprofileui \ | |||
9 | file://init \ | 9 | file://init \ |
10 | file://oprofileui-server.service " | 10 | file://oprofileui-server.service " |
11 | 11 | ||
12 | DEPENDS += "intltool-native" | 12 | DEPENDS += "intltool-native gettext-native" |
13 | 13 | ||
14 | EXTRA_OECONF += "--disable-client --enable-server" | 14 | EXTRA_OECONF += "--disable-client --enable-server" |
15 | 15 | ||
diff --git a/meta/recipes-kernel/oprofile/oprofileui_git.bb b/meta/recipes-kernel/oprofile/oprofileui_git.bb index 8fad099664..86f3d8e50e 100644 --- a/meta/recipes-kernel/oprofile/oprofileui_git.bb +++ b/meta/recipes-kernel/oprofile/oprofileui_git.bb | |||
@@ -1,6 +1,6 @@ | |||
1 | require oprofileui.inc | 1 | require oprofileui.inc |
2 | 2 | ||
3 | DEPENDS += "gtk+ libglade libxml2 avahi-ui gconf" | 3 | DEPENDS += "gtk+ libglade libxml2 avahi-ui gconf gettext-native" |
4 | 4 | ||
5 | inherit distro_features_check | 5 | inherit distro_features_check |
6 | ANY_OF_DISTRO_FEATURES = "${GTK2DISTROFEATURES}" | 6 | ANY_OF_DISTRO_FEATURES = "${GTK2DISTROFEATURES}" |