<pre style='margin:0'>
Christopher Nielsen (mascguy) pushed a commit to branch master
in repository macports-ports.
</pre>
<p><a href="https://github.com/macports/macports-ports/commit/8ebeefc66544df0b735f41e392fd31b21721bdc1">https://github.com/macports/macports-ports/commit/8ebeefc66544df0b735f41e392fd31b21721bdc1</a></p>
<pre style="white-space: pre; background: #F8F8F8"><span style='display:block; white-space:pre;color:#808000;'>commit 8ebeefc66544df0b735f41e392fd31b21721bdc1
</span>Author: usersxx <97012123+usersxx@users.noreply.github.com>
AuthorDate: Sat Apr 9 21:20:20 2022 +0530
<span style='display:block; white-space:pre;color:#404040;'> openjdk15: make build more specific
</span>---
java/openjdk15/Portfile | 15 ++++++++++++---
1 file changed, 12 insertions(+), 3 deletions(-)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/java/openjdk15/Portfile b/java/openjdk15/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index 9d6453f18cf..fcee220159f 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/java/openjdk15/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/java/openjdk15/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -5,7 +5,7 @@ PortSystem 1.0
</span> name openjdk15
# https://github.com/openjdk/jdk15u/tags
version 15.0.6
<span style='display:block; white-space:pre;background:#ffe0e0;'>-revision 3
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+revision 4
</span> categories java devel
platforms darwin
supported_archs x86_64
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -36,11 +36,13 @@ set extraldflags "-Wl,-syslibroot,`xcrun --sdk macosx --show-sdk-path` -arch ${c
</span> set jchflags "-Wno-implicit-function-declaration -Wno-unused-parameter"
set jcxxflags "-Wno-implicit-function-declaration -Wno-unused-parameter"
set jldflags "-L`xcrun --sdk macosx --show-sdk-path`/usr/lib -L`xcrun --sdk macosx --show-sdk-path`/usr/lib/system"
<span style='display:block; white-space:pre;background:#e0ffe0;'>+set bug_url "https://trac.macports.org/newticket?port=${name}"
</span> # default configure args
configure.args --with-debug-level=release \
--with-native-debug-symbols=none \
--with-version-pre=release \
--with-jvm-variants=server \
<span style='display:block; white-space:pre;background:#e0ffe0;'>+ --with-target-bits=64 \
</span> --with-sysroot=`xcrun --sdk macosx --show-sdk-path` \
--with-extra-cflags="${configure.cflags} ${extrachflags} ${jchflags}" \
--with-extra-cxxflags="${configure.cxxflags} ${extracxxflags} ${jcxxflags}" \
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -48,7 +50,14 @@ configure.args --with-debug-level=release \
</span> --with-boot-jdk=/Library/Java/JavaVirtualMachines/openjdk15-bootstrap/Contents/Home \
--disable-warnings-as-errors \
--disable-precompiled-headers \
<span style='display:block; white-space:pre;background:#ffe0e0;'>- --with-conf-name=openjdk${version}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ --with-vendor-name="OpenJDK Porters Group" \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ --with-vendor-url="${homepage}" \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ --with-vendor-bug-url="${bug_url}" \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ --with-vendor-vm-bug-url="${bug_url}" \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ --without-version-opt \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ --without-version-pre \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ --with-conf-name=release
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span> variant server \
description {JVM with normal interpreter, and a tiered C1/C2 compiler} {}
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -86,7 +95,7 @@ build.type gnu
</span> build.target images
use_parallel_build no
set jdkn jdk-${version}.jdk
<span style='display:block; white-space:pre;background:#ffe0e0;'>-set bundle_dir build/openjdk${version}/images/jdk-bundle/${jdkn}/Contents
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+set bundle_dir build/release/images/jdk-bundle/${jdkn}/Contents
</span>
test.run yes
test.cmd ${bundle_dir}/Home/bin/java
</pre><pre style='margin:0'>
</pre>