[oe-commits] Tom Rini : gettext-native (0.18): Disable curses and enable relocatable

git version control git at git.openembedded.org
Fri Dec 17 16:33:54 UTC 2010


Module: openembedded.git
Branch: master
Commit: fa6b202f9c954df43aa26ec8c9fa8b717d4074c1
URL:    http://gitweb.openembedded.net/?p=openembedded.git&a=commit;h=fa6b202f9c954df43aa26ec8c9fa8b717d4074c1

Author: Tom Rini <tom_rini at mentor.com>
Date:   Fri Dec 17 08:09:25 2010 -0700

gettext-native (0.18): Disable curses and enable relocatable

Since we don't need the curses-based tools, just cli, we can disable that.
We enable the relocation flag since if the tool wants to help us here,
we should take it.

Signed-off-by: Tom Rini <tom_rini at mentor.com>

---

 recipes/gettext/gettext_0.18.bb |    8 +++++++-
 1 files changed, 7 insertions(+), 1 deletions(-)

diff --git a/recipes/gettext/gettext_0.18.bb b/recipes/gettext/gettext_0.18.bb
index d27fad8..854655b 100644
--- a/recipes/gettext/gettext_0.18.bb
+++ b/recipes/gettext/gettext_0.18.bb
@@ -2,7 +2,7 @@ DESCRIPTION = "The GNU internationalization library."
 HOMEPAGE = "http://www.gnu.org/software/gettext/gettext.html"
 SECTION = "libs"
 LICENSE = "GPLv3"
-PR = "r3"
+PR = "r4"
 DEPENDS = "gettext-native virtual/libiconv ncurses expat"
 DEPENDS_virtclass-native = "libxml2-native"
 PROVIDES = "virtual/libintl"
@@ -15,6 +15,7 @@ SRC_URI = "${GNU_MIRROR}/gettext/gettext-${PV}.tar.gz \
            file://autotools.patch \
            file://gettext-autoconf-lib-link-no-L.patch \
 	   file://gnulib-uclibc-sched_param-def.patch \
+	   file://disable-gettext-tools-tests.patch \
 	  "
 
 SRC_URI_append_libc-uclibc = " file://gettext-error_print_progname.patch"
@@ -26,6 +27,9 @@ PARALLEL_MAKE = ""
 
 inherit autotools
 
+NATIVECONF = ""
+NATIVECONF_virtclass-native += "--enable-relocatable --disable-curses"
+
 EXTRA_OECONF += "--without-lispdir \
 		 --disable-csharp \
 		 --disable-libasprintf \
@@ -35,7 +39,9 @@ EXTRA_OECONF += "--without-lispdir \
 		 --with-included-glib \
 		 --without-emacs \
 		 --with-included-libcroco \
+		 ${NATIVECONF} \
 	        "
+
 acpaths = '-I ${S}/gnulib-local/m4/ \
 	   -I ${S}/gettext-runtime/m4 \
 	   -I ${S}/gettext-tools/m4'





More information about the Openembedded-commits mailing list