Skip to content
Permalink
Browse files

openjdk10: use notes instead ui_msg for EOL warning

  • Loading branch information
breun authored and pmetzger committed Sep 30, 2018
1 parent 173263b commit 0e4f01c172a0ba60f4cb869486fbf38c7a93e5a8
Showing with 5 additions and 2 deletions.
  1. +5 −2 java/openjdk10/Portfile
@@ -38,13 +38,16 @@ build {}
destroot.violate_mtree yes

destroot {
ui_msg "\nWarning: Support for OpenJDK 10.x has reached end of life and there will be no more updates."
ui_msg " Please consider upgrading to a supported OpenJDK version.\n"
set target ${destroot}/Library/Java/JavaVirtualMachines
xinstall -m 755 -d ${target}
copy ${worksrcpath} ${target}
}

notes "
Warning: Support for OpenJDK 10.x has reached end of life and there will be no more updates.
Please consider upgrading to a supported OpenJDK version.
"

livecheck.type regex
livecheck.url ${homepage}
livecheck.regex "version (\\d+(?:\\.\\d+)*(?:-\\d+)?)"

0 comments on commit 0e4f01c

Please sign in to comment.
You can’t perform that action at this time.