From: Denys Dmytriyenko Date: Fri, 23 Dec 2016 19:34:31 +0000 (-0500) Subject: attr/ea-acl: pass --disable-gettext when USE_NLS=no X-Git-Tag: lucaceresoli/bug-15201-perf-libtraceevent-missing~23108 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d044fad8a0ac5d57deb88b25106f3a39cb7c1636;p=thirdparty%2Fopenembedded%2Fopenembedded-core-contrib.git attr/ea-acl: pass --disable-gettext when USE_NLS=no 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 Signed-off-by: Ross Burton --- diff --git a/meta/recipes-support/attr/ea-acl.inc b/meta/recipes-support/attr/ea-acl.inc index cc33c101fb3..a88ce901191 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}"