Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH 1/2] gettext: make host gettextize non-interactive
@ 2014-04-03 13:43 Gustavo Zacarias
  2014-04-03 13:43 ` [Buildroot] [PATCH 2/2] wget: fix autoreconf brokeness Gustavo Zacarias
  2014-04-03 18:13 ` [Buildroot] [PATCH 1/2] gettext: make host gettextize non-interactive Thomas Petazzoni
  0 siblings, 2 replies; 4+ messages in thread
From: Gustavo Zacarias @ 2014-04-03 13:43 UTC (permalink / raw)
  To: buildroot

Make the host gettextize tool non-interactive to avoid stalling for user
confirmation when using it to fix up a package.

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
---
 package/gettext/gettext.mk | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/package/gettext/gettext.mk b/package/gettext/gettext.mk
index 748c2a5..b5efa76 100644
--- a/package/gettext/gettext.mk
+++ b/package/gettext/gettext.mk
@@ -57,5 +57,11 @@ endef
 endif
 endif # GETTEXT_TOOLS = n
 
+# Disable interactive confirmation in host gettextize for package fixups
+define HOST_GETTEXT_GETTEXTIZE_CONFIRMATION
+	$(SED) '/read dummy/d' $(HOST_DIR)/usr/bin/gettextize
+endef
+HOST_GETTEXT_POST_INSTALL_HOOKS += HOST_GETTEXT_GETTEXTIZE_CONFIRMATION
+
 $(eval $(autotools-package))
 $(eval $(host-autotools-package))
-- 
1.8.3.2

^ permalink raw reply related	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2014-04-03 18:13 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-04-03 13:43 [Buildroot] [PATCH 1/2] gettext: make host gettextize non-interactive Gustavo Zacarias
2014-04-03 13:43 ` [Buildroot] [PATCH 2/2] wget: fix autoreconf brokeness Gustavo Zacarias
2014-04-03 14:03   ` Baruch Siach
2014-04-03 18:13 ` [Buildroot] [PATCH 1/2] gettext: make host gettextize non-interactive Thomas Petazzoni

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox