summaryrefslogtreecommitdiff
path: root/java/openjdk8/files/patch-configure
diff options
context:
space:
mode:
authorGreg Lewis <glewis@FreeBSD.org>2018-12-08 18:35:30 +0000
committerGreg Lewis <glewis@FreeBSD.org>2018-12-08 18:35:30 +0000
commit7fd2bcba96765d10f1f677a1f872f49826d7669e (patch)
tree5050f693bd31b937c2e729956059e17ac15ab998 /java/openjdk8/files/patch-configure
parentaudio/tuxguitar: Several changes (diff)
. Update to 8u192.
PR: 230364
Notes
Notes: svn path=/head/; revision=486973
Diffstat (limited to 'java/openjdk8/files/patch-configure')
-rw-r--r--java/openjdk8/files/patch-configure17
1 files changed, 10 insertions, 7 deletions
diff --git a/java/openjdk8/files/patch-configure b/java/openjdk8/files/patch-configure
index 69b099a9d483..1c3986191de4 100644
--- a/java/openjdk8/files/patch-configure
+++ b/java/openjdk8/files/patch-configure
@@ -1,11 +1,14 @@
---- configure
-+++ configure
-@@ -26,4 +26,7 @@
- # make sure that is called using bash.
-
+--- configure.orig 2018-12-02 13:45:44.142931000 -0800
++++ configure 2018-12-02 15:16:05.112400000 -0800
+@@ -29,6 +29,10 @@
this_script_dir=`dirname $0`
--bash $this_script_dir/common/autoconf/configure "$@"
+ this_script_dir=`cd $this_script_dir > /dev/null && pwd`
+
+export CONFIG_SHELL=%%LOCALBASE%%/bin/bash
+export MAKE=%%LOCALBASE%%/bin/gmake
+export OBJCOPY=%%OBJCOPY%%
-+%%LOCALBASE%%/bin/bash $this_script_dir/common/autoconf/configure "$@"
++
+ # Delegate to wrapper, forcing wrapper to believe $0 is this script by using -c.
+ # This trick is needed to get autoconf to co-operate properly.
+-bash -c ". $this_script_dir/common/autoconf/configure" $this_script_dir/configure CHECKME $this_script_dir "$@"
++%%LOCALBASE%%/bin/bash -c ". $this_script_dir/common/autoconf/configure" $this_script_dir/configure CHECKME $this_script_dir "$@"