freebsd-ports/java/openjdk8/files/patch-configure
Greg Lewis 7fd2bcba96 . Update to 8u192.
PR:		230364
2018-12-08 18:35:30 +00:00

14 lines
715 B
Text

--- 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`
this_script_dir=`cd $this_script_dir > /dev/null && pwd`
+export CONFIG_SHELL=%%LOCALBASE%%/bin/bash
+export MAKE=%%LOCALBASE%%/bin/gmake
+export OBJCOPY=%%OBJCOPY%%
+
# 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 "$@"