diff mbox

[morty] attr/ea-acl: pass --disable-gettext when USE_NLS=no

Message ID 1484089920-29356-1-git-send-email-denis@denix.org
State Superseded
Headers show

Commit Message

Denys Dmytriyenko Jan. 10, 2017, 11:12 p.m. UTC
From: Denys Dmytriyenko <denys@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@ti.com>

Signed-off-by: Ross Burton <ross.burton@intel.com>


(From OE-Core rev: d044fad8a0ac5d57deb88b25106f3a39cb7c1636)

Signed-off-by: Denys Dmytriyenko <denys@ti.com>

---
 meta/recipes-support/attr/ea-acl.inc | 1 +
 1 file changed, 1 insertion(+)

-- 
2.7.4

-- 
_______________________________________________
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-core

Comments

Denys Dmytriyenko Jan. 17, 2017, 5:26 p.m. UTC | #1
Ping

On Tue, Jan 10, 2017 at 06:12:00PM -0500, Denys Dmytriyenko wrote:
> From: Denys Dmytriyenko <denys@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@ti.com>

> Signed-off-by: Ross Burton <ross.burton@intel.com>

> 

> (From OE-Core rev: d044fad8a0ac5d57deb88b25106f3a39cb7c1636)

> 

> Signed-off-by: Denys Dmytriyenko <denys@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 370e16f..0e2ede3 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

> 

> -- 

> _______________________________________________

> Openembedded-core mailing list

> Openembedded-core@lists.openembedded.org

> http://lists.openembedded.org/mailman/listinfo/openembedded-core

-- 
_______________________________________________
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-core
Denys Dmytriyenko Jan. 17, 2017, 5:28 p.m. UTC | #2
Sorry, ignore this one - there was v2 previously submitted specifically for 
morty.

On Tue, Jan 17, 2017 at 12:26:37PM -0500, Denys Dmytriyenko wrote:
> Ping

> 

> On Tue, Jan 10, 2017 at 06:12:00PM -0500, Denys Dmytriyenko wrote:

> > From: Denys Dmytriyenko <denys@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@ti.com>

> > Signed-off-by: Ross Burton <ross.burton@intel.com>

> > 

> > (From OE-Core rev: d044fad8a0ac5d57deb88b25106f3a39cb7c1636)

> > 

> > Signed-off-by: Denys Dmytriyenko <denys@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 370e16f..0e2ede3 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

> > 

> > -- 

> > _______________________________________________

> > Openembedded-core mailing list

> > Openembedded-core@lists.openembedded.org

> > http://lists.openembedded.org/mailman/listinfo/openembedded-core

> -- 

> _______________________________________________

> Openembedded-core mailing list

> Openembedded-core@lists.openembedded.org

> http://lists.openembedded.org/mailman/listinfo/openembedded-core

-- 
_______________________________________________
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-core
diff mbox

Patch

diff --git a/meta/recipes-support/attr/ea-acl.inc b/meta/recipes-support/attr/ea-acl.inc
index 370e16f..0e2ede3 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}"