[oe-commits] Paul Menzel : lynx: inherit class `gettext` to fix build with `minimal-uclibc`

git version control git at git.openembedded.org
Thu Jun 2 20:01:31 UTC 2011


Module: openembedded.git
Branch: testing-next
Commit: c55a2839e10beee6baf587afebdbf9c490d41ea3
URL:    http://git.openembedded.org/?p=openembedded.git&a=commit;h=c55a2839e10beee6baf587afebdbf9c490d41ea3

Author: Paul Menzel <paulepanter at users.sourceforge.net>
Date:   Thu Jun  2 14:36:36 2011 +0200

lynx: inherit class `gettext` to fix build with `minimal-uclibc`

Task configure failed with the following error message using `minimal-uclibc` for `MACHINE = "beagleboard"`.

	checking for __argz_stringify... no
	checking for __argz_next... no
	checking for iconv... no, consider installing GNU libiconv
	checking for nl_langinfo and CODESET... yes
	checking for LC_MESSAGES... yes
	checking whether NLS is requested... yes
	checking whether included gettext is requested... no
	checking for libintl.h and gettext()... no
	configure: error: no NLS library is packaged with this application

Inheriting the class `gettext` fixes this error and the build completes using `minimal-uclibc` for `MACHINE = "beagleboard"`.

Signed-off-by: Paul Menzel <paulepanter at users.sourceforge.net>

---

 recipes/lynx/lynx_2.8.7.bb |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/recipes/lynx/lynx_2.8.7.bb b/recipes/lynx/lynx_2.8.7.bb
index b9b5407..f59dc9a 100644
--- a/recipes/lynx/lynx_2.8.7.bb
+++ b/recipes/lynx/lynx_2.8.7.bb
@@ -11,9 +11,9 @@ S = "${WORKDIR}/${PN}${@bb.data.getVar('PV',d,1).replace('.', '-')}"
 SRC_URI = "http://lynx.isc.org/current/${PN}${PV}rel.2.tar.bz2 \
 	   file://locale-charset.patch"
 
-inherit autotools
+inherit autotools gettext
 
-EXTRA_OECONF = "--with-ssl=${STAGING_DIR_HOST}${layout_exec_prefix} --with-curses-dir=${STAGING_DIR_HOST}${layout_exec_prefix} --enable-nls --with-screen=ncursesw --enable-locale-charset --enable-ipv6 --enable-persistent-cookies"
+EXTRA_OECONF += "--with-ssl=${STAGING_DIR_HOST}${layout_exec_prefix} --with-curses-dir=${STAGING_DIR_HOST}${layout_exec_prefix} --enable-nls --with-screen=ncursesw --enable-locale-charset --enable-ipv6 --enable-persistent-cookies"
 
 do_configure() {
 	# prevent import of ncursesw6-config from host system





More information about the Openembedded-commits mailing list