[yocto] [meta-mono PATCH] mono-4.xx.inc: Inherit gettext class

Otavio Salvador otavio at ossystems.com.br
Wed Dec 16 08:18:32 PST 2015


The mono uses gettext for build, by default, so we ought to ensure it
is available during the build.

This fixes follow error:

,----[ Build error ]
| configure: error: msgfmt not found. You need to install the 'gettext' package, or pass --enable-nls=no to configure.
| Configure failed. The contents of all config.log files follows to aid debugging
| .../build-default/tmp/work/x86_64-linux/mono-native/4.0.1.34-r0/mono-4.0.1/config.log
`----

Signed-off-by: Otavio Salvador <otavio at ossystems.com.br>
---

 recipes-mono/mono/mono-4.xx.inc | 1 +
 1 file changed, 1 insertion(+)

diff --git a/recipes-mono/mono/mono-4.xx.inc b/recipes-mono/mono/mono-4.xx.inc
index f5ba14f..ed27c8d 100644
--- a/recipes-mono/mono/mono-4.xx.inc
+++ b/recipes-mono/mono/mono-4.xx.inc
@@ -30,6 +30,7 @@ FILESPATH =. "${FILE_DIRNAME}/mono-${PV}:"
 
 inherit autotools-brokensep
 inherit pkgconfig
+inherit gettext
 
 EXTRA_OECONF += " mono_cv_uscore=no --with-sigaltstack=no --with-mcs-docs=no "
 
-- 
2.6.4




More information about the yocto mailing list