From fa6b202f9c954df43aa26ec8c9fa8b717d4074c1 Mon Sep 17 00:00:00 2001 From: Tom Rini Date: Fri, 17 Dec 2010 08:09:25 -0700 Subject: [PATCH] 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 --- recipes/gettext/gettext_0.18.bb | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/recipes/gettext/gettext_0.18.bb b/recipes/gettext/gettext_0.18.bb index d27fad8f55..854655bed4 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' -- 2.39.5