[gnome-continuous-yocto/gnomeostree-3.28-rocko: 3962/8267] attr/ea-acl: pass --disable-gettext when USE_NLS=no



commit 29c9e43e75742737f59c0f32f5b0f7f502bdfed2
Author: Denys Dmytriyenko <denys ti com>
Date:   Fri Dec 23 14:34:31 2016 -0500

    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.
    
    (From OE-Core rev: d044fad8a0ac5d57deb88b25106f3a39cb7c1636)
    
    Signed-off-by: Denys Dmytriyenko <denys ti com>
    Signed-off-by: Ross Burton <ross burton intel com>
    Signed-off-by: Richard Purdie <richard purdie linuxfoundation org>

 meta/recipes-support/attr/ea-acl.inc |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/meta/recipes-support/attr/ea-acl.inc b/meta/recipes-support/attr/ea-acl.inc
index cc33c10..a88ce90 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}"
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]