[OE-core] [PATCH] attr/ea-acl: pass --disable-gettext when USE_NLS=no
Denys Dmytriyenko
denis at denix.org
Fri Dec 23 19:34:31 UTC 2016
From: Denys Dmytriyenko <denys at ti.com>
Fixes following error in configure:
FATAL ERROR: msgfmt does not seem to be installed.
attr cannot be built without a working gettext installation.
Signed-off-by: Denys Dmytriyenko <denys at ti.com>
---
meta/recipes-support/attr/ea-acl.inc | 1 +
1 file changed, 1 insertion(+)
diff --git a/meta/recipes-support/attr/ea-acl.inc b/meta/recipes-support/attr/ea-acl.inc
index 8750c3b..e77cf3e 100644
--- a/meta/recipes-support/attr/ea-acl.inc
+++ b/meta/recipes-support/attr/ea-acl.inc
@@ -10,6 +10,7 @@ inherit autotools-brokensep gettext
EXTRA_AUTORECONF += "--exclude=autoheader"
EXTRA_OECONF = "INSTALL_USER=root INSTALL_GROUP=root"
EXTRA_OECONF_append_class-native = " --enable-gettext=no"
+EXTRA_OECONF_append_class-target = "${@['', ' --disable-gettext '][(d.getVar('USE_NLS') == 'no')]}"
EXTRA_OEMAKE = "PKG_LIB_DIR=${base_libdir} PKG_DEVLIB_DIR=${libdir}"
--
2.7.4
More information about the Openembedded-core
mailing list