From dd93e1a47a370390e1730fcaab11fd83a0fc64ea Mon Sep 17 00:00:00 2001 From: Harald Eilertsen Date: Fri, 24 Oct 2025 14:49:30 +0200 Subject: java/openjdk25: New port An open-source implementation of the Java Platform, Standard Edition. WWW: https://openjdk.java.net/projects/jdk/25/ Reviewed by: jrm, bofh Approved by: fuz (mentor) Sponsored by: The FreeBSD Foundation Differential Revision: https://reviews.freebsd.org/D53326 --- java/openjdk25/files/patch-configure | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 java/openjdk25/files/patch-configure (limited to 'java/openjdk25/files/patch-configure') diff --git a/java/openjdk25/files/patch-configure b/java/openjdk25/files/patch-configure new file mode 100644 index 000000000000..4c97fddabcd2 --- /dev/null +++ b/java/openjdk25/files/patch-configure @@ -0,0 +1,14 @@ +--- configure.orig 2025-10-24 11:51:54 UTC ++++ configure +@@ -1,4 +1,4 @@ +-#!/bin/bash ++#!%%LOCALBASE%%/bin/bash + # + # Copyright (c) 2012, 2023, Oracle and/or its affiliates. All rights reserved. + # DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. +@@ -36,4 +36,4 @@ fi + # 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}" "$@" -- cgit v1.2.3