summaryrefslogtreecommitdiffstats
path: root/package/gettext/gettext-05-use-shell.patch
diff options
context:
space:
mode:
authorPeter Korsgaard <jacmet@sunsite.dk>2013-06-02 16:33:05 +0200
committerPeter Korsgaard <jacmet@sunsite.dk>2013-06-02 16:33:05 +0200
commit1ba51d2fbddd5650f8caea0a327b9031238ad843 (patch)
tree05d5df7b487e76597b34cb0b1fc9543525169a62 /package/gettext/gettext-05-use-shell.patch
parent0c94aa549cc8cf483bc8c3443a2b1f772d5d180b (diff)
parentfb2f3d58bde6aaac12b62eeb16492c93329b8713 (diff)
downloadbuildroot-novena-1ba51d2fbddd5650f8caea0a327b9031238ad843.tar.gz
buildroot-novena-1ba51d2fbddd5650f8caea0a327b9031238ad843.zip
Merge branch 'next'
Diffstat (limited to 'package/gettext/gettext-05-use-shell.patch')
-rw-r--r--package/gettext/gettext-05-use-shell.patch25
1 files changed, 25 insertions, 0 deletions
diff --git a/package/gettext/gettext-05-use-shell.patch b/package/gettext/gettext-05-use-shell.patch
new file mode 100644
index 000000000..5f6e2c268
--- /dev/null
+++ b/package/gettext/gettext-05-use-shell.patch
@@ -0,0 +1,25 @@
+gettext-runtime: use @SHELL@ for the SHELL variable definition
+
+The gettext-runtime/Makefile.in uses an hardcoded SHELL = /bin/sh
+variable. This causes problems at build time, because libtool is then
+called with the 'sh' shell, which does not support the += construct
+that the libtool script is using.
+
+Instead, this Makefile.in should be definining SHELL = @SHELL@, just
+like all other Makefile.in of gettext.
+
+Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
+
+Index: b/gettext-runtime/intl/Makefile.in
+===================================================================
+--- a/gettext-runtime/intl/Makefile.in
++++ b/gettext-runtime/intl/Makefile.in
+@@ -17,7 +17,7 @@
+ PACKAGE = @PACKAGE@
+ VERSION = @VERSION@
+
+-SHELL = /bin/sh
++SHELL = @SHELL@
+
+ srcdir = @srcdir@
+ top_srcdir = @top_srcdir@