Created attachment 266728 [details] git format-patch - patch 1 Hi, My commit of lang/kotlin made games/lwjgl3 broken due to removed deprecated Ant support. This set of patches adds lang/kotlin21 and unbreaks games/lwjgl3 Please review it
Created attachment 266729 [details] git format-patch - patch 2
Hi! We can use Kotlin 2.2: PORTNAME= kotlin DISTVERSION= 2.2.21 CATEGORIES= lang java MASTER_SITES= https://github.com/JetBrains/${PORTNAME}/releases/download/v${DISTVERSION}/ PKGNAMESUFFIX= 22 DISTNAME= ${PORTNAME}-compiler-${DISTVERSION} MAINTAINER= mizhka@FreeBSD.org COMMENT= Kotlin Programming Language with Ant Support (removed in v2.3) WWW= https://kotlinlang.org/ LICENSE= APACHE20 LICENSE_FILE= ${WRKSRC}/license/LICENSE.txt RUN_DEPENDS= bash:shells/bash USES= java zip CONFLICTS= kotlin EXTRACT_BEFORE_ARGS= -qo -x '*.bat' NO_ARCH= yes NO_BUILD= yes WRKSRC= ${WRKDIR}/kotlinc KOTLIN_BIN= kapt \ kotlin \ kotlinc \ kotlinc-js \ kotlinc-jvm do-install: ${MKDIR} ${STAGEDIR}${DATADIR}/lib \ ${STAGEDIR}${DATADIR}/bin cd ${WRKSRC}/bin && ${COPYTREE_BIN} . ${STAGEDIR}${DATADIR}/bin cd ${WRKSRC}/lib && ${COPYTREE_SHARE} . ${STAGEDIR}${DATADIR}/lib .for f in ${KOTLIN_BIN} ${RLN} ${STAGEDIR}${DATADIR}/bin/${f} ${STAGEDIR}${PREFIX}/bin .endfor ${INSTALL_DATA} ${WRKSRC}/build.txt ${STAGEDIR}${DATADIR} .include <bsd.port.mk TIMESTAMP = 1767272727 SHA256 (kotlin-compiler-2.2.21.zip) = a623871f1cd9c938946948b70ef9170879f0758043885bbd30c32f024e511714 SIZE (kotlin-compiler-2.2.21.zip) = 78710880 Changes to games/lwjgl3 I'll commit self. Tested build of the games/lwjgl3 and run consumer - Minecraft Client 1.21.10.
A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/ports/commit/?id=ead895e8de681c242dd8df79344c144961790cb8 commit ead895e8de681c242dd8df79344c144961790cb8 Author: Michael Zhilin <mizhka@FreeBSD.org> AuthorDate: 2026-01-01 11:52:23 +0000 Commit: Michael Zhilin <mizhka@FreeBSD.org> CommitDate: 2026-01-01 19:51:17 +0000 lang/kotlin22: add port for Kotlin 2.2.21 This port is required by games/lwjgl3. Since Kotlin 2.3.0, Ant support has been removed, but lwjgl3 has complex long ongoing migration story from Ant to Gradle. Hopefully after migration the port may be removed. PR: 292099 Reported by: vvd@ lang/Makefile | 1 + lang/kotlin/Makefile | 2 ++ lang/kotlin22/Makefile (new) | 47 ++++++++++++++++++++++++++++++ lang/kotlin22/distinfo (new) | 3 ++ lang/kotlin22/pkg-descr (new) | 1 + lang/kotlin22/pkg-plist (new) | 67 +++++++++++++++++++++++++++++++++++++++++++ 6 files changed, 121 insertions(+)
(In reply to commit-hook from comment #3) If we have this: EXTRACT_BEFORE_ARGS= -qo -x '*.bat' then we can remove this: post-extract: ${RM} ${WRKSRC}/bin/*.bat
A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/ports/commit/?id=0e73709c572b05f47abca16f6cc3dd197d614f22 commit 0e73709c572b05f47abca16f6cc3dd197d614f22 Author: Vladimir Druzenko <vvd@FreeBSD.org> AuthorDate: 2026-01-01 21:04:52 +0000 Commit: Vladimir Druzenko <vvd@FreeBSD.org> CommitDate: 2026-01-01 21:10:01 +0000 games/lwjgl3: Unbreak after update lang/kotlin to 2.3.0 Since Kotlin 2.3.0, Ant support has been removed, but lwjgl3 has complex long ongoing migration story from Ant to Gradle. Depends on new port lang/kotlin22 with Kotlin 2.2.21. Hopefully after migration the port may be removed. While here improve port: - Fix warnings from portclippy. - Optimize do-install goal. - Refresh patches. PR: 292099 games/lwjgl3/Makefile | 20 ++++++++---------- games/lwjgl3/files/patch-build.xml (new) | 24 ++++++++++++++++++++++ .../files/patch-config_build-definitions.xml | 4 ++-- games/lwjgl3/files/patch-config_freebsd_build.xml | 6 +++--- 4 files changed, 38 insertions(+), 16 deletions(-)
Thanks!