summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGustavo Zacarias <gustavo@zacarias.com.ar>2014-04-03 10:43:30 -0300
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>2014-04-03 20:12:35 +0200
commit42e623ac2361feb28c1a37e14d612d916d1135cf (patch)
tree4b861c69e78ac4f36e197e4a5c32e018230fe818
parent34d5f90b8bcf4bc1d87e82e3fbd958552e79a8cd (diff)
downloadbuildroot-42e623ac2361feb28c1a37e14d612d916d1135cf.tar.gz
buildroot-42e623ac2361feb28c1a37e14d612d916d1135cf.zip
gettext: make host gettextize non-interactive
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> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
-rw-r--r--package/gettext/gettext.mk6
1 files changed, 6 insertions, 0 deletions
diff --git a/package/gettext/gettext.mk b/package/gettext/gettext.mk
index 748c2a59fd..b5efa766d3 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))
OpenPOWER on IntegriCloud