aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorxride <xride@FreeBSD.org>2013-06-18 00:17:46 +0800
committerxride <xride@FreeBSD.org>2013-06-18 00:17:46 +0800
commitc75f3526e9ba73b22ed75af73a1ed915aeb5a029 (patch)
treec08b3ae2a5012f8d0b487e236a04113781407295
parent7d115a1f0334a50ea98db8e695d409fe3935912a (diff)
downloadfreebsd-ports-gnome-c75f3526e9ba73b22ed75af73a1ed915aeb5a029.tar.gz
freebsd-ports-gnome-c75f3526e9ba73b22ed75af73a1ed915aeb5a029.tar.zst
freebsd-ports-gnome-c75f3526e9ba73b22ed75af73a1ed915aeb5a029.zip
Fix compile problems when using /bin/csh as login shell
Approved by: Maintainer
-rw-r--r--devel/zpu-gcc/files/patch-gcc_gcc_fixinc_mkfixinc.sh11
1 files changed, 11 insertions, 0 deletions
diff --git a/devel/zpu-gcc/files/patch-gcc_gcc_fixinc_mkfixinc.sh b/devel/zpu-gcc/files/patch-gcc_gcc_fixinc_mkfixinc.sh
new file mode 100644
index 000000000000..7a0abb7509e4
--- /dev/null
+++ b/devel/zpu-gcc/files/patch-gcc_gcc_fixinc_mkfixinc.sh
@@ -0,0 +1,11 @@
+--- gcc/gcc/fixinc/mkfixinc.sh.orig 2013-06-17 08:08:36.000000000 -0400
++++ gcc/gcc/fixinc/mkfixinc.sh 2013-06-17 08:08:54.000000000 -0400
+@@ -72,7 +72,7 @@
+ # OK. We gotta make the thing.
+ # make and install either the binary or the default script
+
+-defs="SHELL=\"$SHELL\" CC=\"$CC\" CFLAGS=\"$CFLAGS\" LDFLAGS=\"$LDFLAGS\" LIBERTY=\"$LIBERTY\""
++defs="SHELL=\"/bin/sh\" CC=\"$CC\" CFLAGS=\"$CFLAGS\" LDFLAGS=\"$LDFLAGS\" LIBERTY=\"$LIBERTY\""
+ cmd="$MAKE ${defs} install-bin"
+ echo $cmd
+ eval $cmd