gettext-native (0.18): Disable curses and enable relocatable
authorTom Rini <tom_rini@mentor.com>
Fri, 17 Dec 2010 15:09:25 +0000 (08:09 -0700)
committerTom Rini <tom_rini@mentor.com>
Fri, 17 Dec 2010 16:32:26 +0000 (09:32 -0700)
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@mentor.com>
recipes/gettext/gettext_0.18.bb

index d27fad8..854655b 100644 (file)
@@ -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'