summaryrefslogtreecommitdiff
path: root/java/openjdk17/files/patch-configure
diff options
context:
space:
mode:
authorGreg Lewis <glewis@FreeBSD.org>2021-09-25 11:28:38 -0700
committerGreg Lewis <glewis@FreeBSD.org>2021-09-25 11:28:38 -0700
commit1b1bfbaab23ca81e34ff9ae88c0e0ec375122856 (patch)
treec15d5a23fd4a5b5e8eaa616ba5fcab3645a3f233 /java/openjdk17/files/patch-configure
parentdevel/go-perf: Tidy up pkg-descr a bit. (diff)
java/openjdk17: Add a port of OpenJDK 17
* Add a port of OpenJDK 17 * Restrict to amd64 and aarch64 until more platforms are tested
Diffstat (limited to 'java/openjdk17/files/patch-configure')
-rw-r--r--java/openjdk17/files/patch-configure14
1 files changed, 14 insertions, 0 deletions
diff --git a/java/openjdk17/files/patch-configure b/java/openjdk17/files/patch-configure
new file mode 100644
index 000000000000..59daa4ff854f
--- /dev/null
+++ b/java/openjdk17/files/patch-configure
@@ -0,0 +1,14 @@
+--- configure.orig 2019-03-12 12:38:39.648907000 -0700
++++ configure 2019-03-12 12:39:04.275572000 -0700
+@@ -1,4 +1,4 @@
+-#!/bin/bash
++#!%%LOCALBASE%%/bin/bash
+ #
+ # Copyright (c) 2012, 2014, Oracle and/or its affiliates. All rights reserved.
+ # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
+@@ -32,4 +32,4 @@
+ # 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.
+ # The ${-:+-$-} construction passes on bash options.
+-bash ${-:+-$-} -c ". $this_script_dir/make/autoconf/configure" $this_script_dir/configure CHECKME $this_script_dir "$@"
++%%LOCALBASE%%/bin/bash ${-:+-$-} -c ". $this_script_dir/make/autoconf/configure" $this_script_dir/configure CHECKME $this_script_dir "$@"