Patchwork gettext: add host-gettext

login
register
mail settings
Submitter Arnout Vandecappelle
Date Feb. 17, 2013, 9:35 p.m.
Message ID <1361136928-2077-1-git-send-email-arnout@mind.be>
Download mbox | patch
Permalink /patch/221102/
State Superseded
Headers show

Comments

Arnout Vandecappelle - Feb. 17, 2013, 9:35 p.m.
From: "Arnout Vandecappelle (Essensium/Mind)" <arnout@mind.be>

host-gettext is required for the autotools macros used by modem-manager.

Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
---
I noticed that gettext uses ncurses if available, but there is no dependency
or --disable in the .mk file...
---
 package/gettext/gettext.mk |   14 ++++++++++++++
 1 file changed, 14 insertions(+)

Patch

diff --git a/package/gettext/gettext.mk b/package/gettext/gettext.mk
index 204af10..d69b1c8 100644
--- a/package/gettext/gettext.mk
+++ b/package/gettext/gettext.mk
@@ -55,4 +55,18 @@  endef
 GETTEXT_POST_PATCH_HOOKS += GETTEXT_DISABLE_TOOLS
 GETTEXT_POST_PATCH_HOOKS += GETTEXT_DISABLE_TESTS
 
+HOST_GETTEXT_CONF_OPT +=  \
+	--disable-libasprintf \
+	--disable-acl \
+	--disable-openmp \
+	--disable-rpath \
+	--disable-java \
+	--disable-native-java \
+	--disable-csharp \
+	--disable-relocatable \
+	--without-emacs \
+	--disable-nls \
+	--disable-curses
+
 $(eval $(autotools-package))
+$(eval $(host-autotools-package))