Re: git: e4a13233790e - main - lang/kotlin: Update 2 .1.20 → 2.3.0

From: Michael Zhilin <mizhka_at_gmail.com>
Date: Thu, 01 Jan 2026 09:09:45 UTC
Hi Vladimir,

Thank you for catching it. The reason is Kotlin has removed Ant support (
https://kotlinlang.org/docs/compatibility-guide-23.html#remove-support-for-ant).
It's a pity that lwjgl3 is still on migrating to gradle and the only
supported build engine is the old good Ant, so I propose to add port
lang/kotlin21 and use it for build. What do you think?

Thx!


On Thu, Jan 1, 2026 at 5:50 AM Vladimir Druzenko <vvd@freebsd.org> wrote:

> Hello!
>
> This update breaks the games/lwjgl3 build.
>
> 01.01.2026 00:18, Michael Zhilin пишет:
> > The branch main has been updated by mizhka:
> >
> > URL:
> https://cgit.FreeBSD.org/ports/commit/?id=e4a13233790e3f2f96faa89c1d6b127e0b7c5c2b
> >
> > commit e4a13233790e3f2f96faa89c1d6b127e0b7c5c2b
> > Author:     Michael Zhilin <mizhka@FreeBSD.org>
> > AuthorDate: 2025-12-28 13:17:35 +0000
> > Commit:     Michael Zhilin <mizhka@FreeBSD.org>
> > CommitDate: 2025-12-31 21:18:27 +0000
> >
> >      lang/kotlin: Update 2.1.20 → 2.3.0
> >
> >      Release notes:
> >      https://github.com/JetBrains/kotlin/releases/tag/v2.3.0
> >      https://blog.jetbrains.com/kotlin/2025/12/kotlin-2-3-0-released/
> > ---
> >   lang/kotlin/Makefile  | 2 +-
> >   lang/kotlin/distinfo  | 6 +++---
> >   lang/kotlin/pkg-plist | 6 ------
> >   3 files changed, 4 insertions(+), 10 deletions(-)
> >
> > diff --git a/lang/kotlin/Makefile b/lang/kotlin/Makefile
> > index 1ab3c0e808ca..52e3d2c2d065 100644
> > --- a/lang/kotlin/Makefile
> > +++ b/lang/kotlin/Makefile
> > @@ -1,5 +1,5 @@
> >   PORTNAME=   kotlin
> > -DISTVERSION= 2.1.20
> > +DISTVERSION= 2.3.0
> >   CATEGORIES= lang java
> >   MASTER_SITES=
> https://github.com/JetBrains/kotlin/releases/download/v${PORTVERSION}/
> >   DISTNAME=   kotlin-compiler-${PORTVERSION}
> > diff --git a/lang/kotlin/distinfo b/lang/kotlin/distinfo
> > index 067fe524def8..fa405d4958fb 100644
> > --- a/lang/kotlin/distinfo
> > +++ b/lang/kotlin/distinfo
> > @@ -1,3 +1,3 @@
> > -TIMESTAMP = 1742758157
> > -SHA256 (kotlin-compiler-2.1.20.zip) =
> a118197b0de55ffab2bc8d5cd03a5e39033cfb53383d6931bc761dec0784891a
> > -SIZE (kotlin-compiler-2.1.20.zip) = 86919262
> > +TIMESTAMP = 1766927524
> > +SHA256 (kotlin-compiler-2.3.0.zip) =
> ea16ab1cab29d419bf41b60ecc0e305d449fa661d9c05fbcc5b2a6672505456a
> > +SIZE (kotlin-compiler-2.3.0.zip) = 80761300
> > diff --git a/lang/kotlin/pkg-plist b/lang/kotlin/pkg-plist
> > index 14d22543fa37..253887d0b712 100644
> > --- a/lang/kotlin/pkg-plist
> > +++ b/lang/kotlin/pkg-plist
> > @@ -10,23 +10,18 @@ bin/kotlinc-jvm
> >   %%DATADIR%%/bin/kotlinc-jvm
> >   %%DATADIR%%/build.txt
> >   %%DATADIR%%/lib/allopen-compiler-plugin.jar
> > -%%DATADIR%%/lib/android-extensions-compiler.jar
> > -%%DATADIR%%/lib/android-extensions-runtime.jar
> >   %%DATADIR%%/lib/annotations-13.0.jar
> >   %%DATADIR%%/lib/assignment-compiler-plugin.jar
> >   %%DATADIR%%/lib/compose-compiler-plugin.jar
> >   %%DATADIR%%/lib/jvm-abi-gen.jar
> >   %%DATADIR%%/lib/kotlin-annotation-processing-cli.jar
> > -%%DATADIR%%/lib/kotlin-annotation-processing-compiler.jar
> >   %%DATADIR%%/lib/kotlin-annotation-processing-runtime.jar
> >   %%DATADIR%%/lib/kotlin-annotation-processing.jar
> >   %%DATADIR%%/lib/kotlin-annotations-jvm-sources.jar
> >   %%DATADIR%%/lib/kotlin-annotations-jvm.jar
> > -%%DATADIR%%/lib/kotlin-ant.jar
> >   %%DATADIR%%/lib/kotlin-compiler.jar
> >   %%DATADIR%%/lib/kotlin-daemon-client.jar
> >   %%DATADIR%%/lib/kotlin-daemon.jar
> > -%%DATADIR%%/lib/kotlin-imports-dumper-compiler-plugin.jar
> >   %%DATADIR%%/lib/kotlin-main-kts.jar
> >   %%DATADIR%%/lib/kotlin-metadata-jvm-sources.jar
> >   %%DATADIR%%/lib/kotlin-metadata-jvm.jar
> > @@ -69,4 +64,3 @@ bin/kotlinc-jvm
> >   %%DATADIR%%/lib/power-assert-compiler-plugin.jar
> >   %%DATADIR%%/lib/sam-with-receiver-compiler-plugin.jar
> >   %%DATADIR%%/lib/scripting-compiler.jar
> > -%%DATADIR%%/lib/trove4j.jar
> >
>
> --
> Best regards,
> Vladimir Druzenko
>
>