summaryrefslogtreecommitdiff
path: root/java/openjdk11/files
diff options
context:
space:
mode:
authorGreg Lewis <glewis@FreeBSD.org>2019-03-15 06:02:17 +0000
committerGreg Lewis <glewis@FreeBSD.org>2019-03-15 06:02:17 +0000
commite44a4cbf253f502322bb11b6133e3e590cef3f35 (patch)
treecd894c153272bece5f38fea572df1a59ff0f8f30 /java/openjdk11/files
parentRemoving openjdk11 temporarily to do a repo copy from openjdk8 first. (diff)
Add a port of OpenJDK 11
Notes
Notes: svn path=/head/; revision=495770
Diffstat (limited to 'java/openjdk11/files')
-rw-r--r--java/openjdk11/files/cacertsbin0 -> 102883 bytes
-rw-r--r--java/openjdk11/files/patch-configure14
-rw-r--r--java/openjdk11/files/patch-make-autoconf-build-performance.m413
3 files changed, 27 insertions, 0 deletions
diff --git a/java/openjdk11/files/cacerts b/java/openjdk11/files/cacerts
new file mode 100644
index 000000000000..b71e522997f1
--- /dev/null
+++ b/java/openjdk11/files/cacerts
Binary files differ
diff --git a/java/openjdk11/files/patch-configure b/java/openjdk11/files/patch-configure
new file mode 100644
index 000000000000..59daa4ff854f
--- /dev/null
+++ b/java/openjdk11/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 "$@"
diff --git a/java/openjdk11/files/patch-make-autoconf-build-performance.m4 b/java/openjdk11/files/patch-make-autoconf-build-performance.m4
new file mode 100644
index 000000000000..04aa1f5e707a
--- /dev/null
+++ b/java/openjdk11/files/patch-make-autoconf-build-performance.m4
@@ -0,0 +1,13 @@
+--- make/autoconf/build-performance.m4
++++ make/autoconf/build-performance.m4
+@@ -41,6 +41,10 @@ AC_DEFUN([BPERF_CHECK_CORES],
+ # Looks like a MacOSX system
+ NUM_CORES=`/usr/sbin/sysctl -n hw.ncpu`
+ FOUND_CORES=yes
++ elif test -x /sbin/sysctl; then
++ # Looks like a BSD system
++ NUM_CORES=`/sbin/sysctl -n hw.ncpu`
++ FOUND_CORES=yes
+ elif test "x$OPENJDK_BUILD_OS" = xaix ; then
+ NUM_CORES=`/usr/sbin/prtconf | grep "^Number Of Processors" | awk '{ print [$]4 }'`
+ FOUND_CORES=yes