<pre style='margin:0'>
Renee Otten (reneeotten) pushed a commit to branch master
in repository macports-ports.
</pre>
<p><a href="https://github.com/macports/macports-ports/commit/a6de744e24482f8be984b41e1f6c6369c4916f59">https://github.com/macports/macports-ports/commit/a6de744e24482f8be984b41e1f6c6369c4916f59</a></p>
<pre style="white-space: pre; background: #F8F8F8">The following commit(s) were added to refs/heads/master by this push:
<span style='display:block; white-space:pre;color:#404040;'> new a6de744e244 openjdk8-openj9: update to 8u382, install files under ${prefix}
</span>a6de744e244 is described below
<span style='display:block; white-space:pre;color:#808000;'>commit a6de744e24482f8be984b41e1f6c6369c4916f59
</span>Author: Nils Breunese <nils@breun.nl>
AuthorDate: Tue Aug 29 10:27:36 2023 +0200
<span style='display:block; white-space:pre;color:#404040;'> openjdk8-openj9: update to 8u382, install files under ${prefix}
</span>---
java/openjdk8-openj9/Portfile | 26 +++++++++++++++-----------
1 file changed, 15 insertions(+), 11 deletions(-)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/java/openjdk8-openj9/Portfile b/java/openjdk8-openj9/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index e38a6993625..ffbf51ae818 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/java/openjdk8-openj9/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/java/openjdk8-openj9/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -14,11 +14,11 @@ universal_variant no
</span> # https://developer.ibm.com/languages/java/semeru-runtimes/downloads?os=macOS
supported_archs x86_64
<span style='display:block; white-space:pre;background:#ffe0e0;'>-version 8u372
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+version 8u382
</span> revision 0
<span style='display:block; white-space:pre;background:#ffe0e0;'>-set build 07
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-set openj9_version 0.38.0
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+set build 05
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+set openj9_version 0.40.0
</span>
description IBM Semeru with Eclipse OpenJ9 VM distribution, based on OpenJDK 8
long_description The IBM Semeru Runtimes are free production-ready open source binaries to run your Java applications\
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -29,9 +29,9 @@ master_sites https://github.com/ibmruntimes/semeru8-binaries/releases/download/j
</span> distname ibm-semeru-open-jdk_x64_mac_${version}b${build}_openj9-${openj9_version}
worksrcdir jdk${version}-b${build}
<span style='display:block; white-space:pre;background:#ffe0e0;'>-checksums rmd160 dd01680436b22bc6ae34b6762cc9da3c8bb135d3 \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- sha256 f80452d92b236ebeadf727f66a675519fc6fb724ead4cdc8158c9dfdd3ea6eb3 \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- size 129597136
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+checksums rmd160 0834697d5f9f4c357bc206ceba9567ab54fe632a \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ sha256 e548d673ce0d3645dc2ba6c1f19800cd7d2b0a8f900387be3b4d854aeba6ea5a \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ size 129694641
</span>
homepage https://developer.ibm.com/languages/java/semeru-runtimes/
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -70,17 +70,21 @@ test.args -version
</span> # macOS Java tools expect to find Java virtual machines under /Library/Java/JavaVirtualMachines, which is not under ${prefix}.
destroot.violate_mtree yes
<span style='display:block; white-space:pre;background:#ffe0e0;'>-set target /Library/Java/JavaVirtualMachines/${name}
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-set destroot_target ${destroot}${target}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+set jvms /Library/Java/JavaVirtualMachines
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+set jdk ${jvms}/${name}
</span>
destroot {
<span style='display:block; white-space:pre;background:#ffe0e0;'>- xinstall -m 755 -d ${destroot_target}
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- copy ${worksrcpath}/Contents ${destroot_target}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ xinstall -m 755 -d ${destroot}${prefix}${jdk}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ copy ${worksrcpath}/Contents ${destroot}${prefix}${jdk}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # macOS Java tools expect to find Java virtual machines under /Library/Java/JavaVirtualMachines, so let's create a symlink there
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ xinstall -m 755 -d ${destroot}${jvms}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ln -s ${prefix}${jdk} ${destroot}${jdk}
</span> }
notes "
If you have more than one JDK installed you can make ${name} the default\
by adding the following line to your shell profile:
<span style='display:block; white-space:pre;background:#ffe0e0;'>- export JAVA_HOME=${target}/Contents/Home
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ export JAVA_HOME=${jdk}/Contents/Home
</span> "
</pre><pre style='margin:0'>
</pre>