<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/20394db7e359459bba4c47956b5ac00593e88a55">https://github.com/macports/macports-ports/commit/20394db7e359459bba4c47956b5ac00593e88a55</a></p>
<pre style="white-space: pre; background: #F8F8F8"><span style='display:block; white-space:pre;color:#808000;'>commit 20394db7e359459bba4c47956b5ac00593e88a55
</span>Author: usersxx <97012123+usersxx@users.noreply.github.com>
AuthorDate: Sat Apr 9 21:19:18 2022 +0530
<span style='display:block; white-space:pre;color:#404040;'> openjdk13: make build more specific
</span>---
java/openjdk13/Portfile | 14 +++++++++++---
1 file changed, 11 insertions(+), 3 deletions(-)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/java/openjdk13/Portfile b/java/openjdk13/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index a958add76e8..1f716b649c8 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/java/openjdk13/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/java/openjdk13/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -5,7 +5,7 @@ PortSystem 1.0
</span> name openjdk13
# https://github.com/openjdk/jdk13u/tags
version 13.0.10
<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;'>@@ -35,11 +35,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;'>@@ -47,7 +49,13 @@ configure.args --with-debug-level=release \
</span> --with-boot-jdk=/Library/Java/JavaVirtualMachines/openjdk13-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>
variant server \
description {JVM with normal interpreter, and a tiered C1/C2 compiler} {}
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -85,7 +93,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>