Skip to contentSkip to conversation

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

PATCH Superseded Denys Dmytriyenko 1 participant 3 messages Jan 10, 2017 – Jan 17, 2017

v1 of 2 Superseded Latest is v2 →

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 attr/ea-acl: pass --disable-gettext when USE_NLS=no

From: Denys Dmytriyenko <[email protected]>

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)

---
 meta/recipes-support/attr/ea-acl.inc | 1 +
 1 file changed, 1 insertion(+)
meta/recipes-support/attr/ea-acl.inc +1 -0
index 370e16f..0e2ede3 100644
@@ -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}"
 
Signature · 1 line
2.7.4
#1 lore raw

Ping

Quoted 36 lines · Denys Dmytriyenko

From: Denys Dmytriyenko <[email protected]>

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)

---
 meta/recipes-support/attr/ea-acl.inc | 1 +
 1 file changed, 1 insertion(+)
meta/recipes-support/attr/ea-acl.inc +1 -0
index 370e16f..0e2ede3 100644
@@ -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}"
 
Signature · 7 lines
2.7.4

-- 
_______________________________________________
Openembedded-core mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-core
#2 lore raw

Sorry, ignore this one - there was v2 previously submitted specifically for morty.

Quoted 44 lines · Denys Dmytriyenko

Ping

Quoted 36 lines · Denys Dmytriyenko

From: Denys Dmytriyenko <[email protected]>

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)

---
 meta/recipes-support/attr/ea-acl.inc | 1 +
 1 file changed, 1 insertion(+)
meta/recipes-support/attr/ea-acl.inc +1 -0
index 370e16f..0e2ede3 100644
@@ -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}"
 
Signature · 7 lines
2.7.4

-- 
_______________________________________________
Openembedded-core mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-core
Signature · 4 lines
_______________________________________________
Openembedded-core mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-core