summaryrefslogtreecommitdiff
path: root/editors/vim-share/patches/patch-configure
diff options
context:
space:
mode:
Diffstat (limited to 'editors/vim-share/patches/patch-configure')
-rw-r--r--editors/vim-share/patches/patch-configure18
1 files changed, 18 insertions, 0 deletions
diff --git a/editors/vim-share/patches/patch-configure b/editors/vim-share/patches/patch-configure
new file mode 100644
index 00000000000..d8cb2d43420
--- /dev/null
+++ b/editors/vim-share/patches/patch-configure
@@ -0,0 +1,18 @@
+$NetBSD: patch-configure,v 1.1 2012/08/28 05:59:39 morr Exp $
+
+use the right shell and avoid a non-portable construct
+Needed to configure on SunOS-5.9/sparc.
+
+--- src/configure.orig 2010-08-15 13:02:25.000000000 +0000
++++ src/configure
+@@ -1,7 +1,8 @@
+ #! /bin/sh
+ # run the automatically generated configure script
+-CONFIG_STATUS=auto/config.status \
+- auto/configure "$@" --srcdir="${srcdir:-.}" --cache-file=auto/config.cache
++CONFIG_STATUS=auto/config.status
++export CONFIG_STATUS
++$CONFIG_SHELL auto/configure "$@" --srcdir="${srcdir:-.}" --cache-file=auto/config.cache
+ result=$?
+
+ # Stupid autoconf 2.5x causes this file to be left behind.