summaryrefslogtreecommitdiff
path: root/java/openjdk8/files/patch-configure
diff options
context:
space:
mode:
Diffstat (limited to 'java/openjdk8/files/patch-configure')
-rw-r--r--java/openjdk8/files/patch-configure10
1 files changed, 10 insertions, 0 deletions
diff --git a/java/openjdk8/files/patch-configure b/java/openjdk8/files/patch-configure
new file mode 100644
index 000000000000..62ed12627b1b
--- /dev/null
+++ b/java/openjdk8/files/patch-configure
@@ -0,0 +1,10 @@
+--- configure
++++ configure
+@@ -26,4 +26,6 @@
+ # make sure that is called using bash.
+
+ this_script_dir=`dirname $0`
+-bash $this_script_dir/common/autoconf/configure "$@"
++export CONFIG_SHELL=%%LOCALBASE%%/bin/bash
++export MAKE=%%LOCALBASE%%/bin/gmake
++%%LOCALBASE%%/bin/bash $this_script_dir/common/autoconf/configure "$@"