Date: Sat, 14 Dec 2024 16:31:05 GMT From: Ronald Klop <ronald@FreeBSD.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org Subject: git: aaed796f0c83 - main - games/lwjgl: support aarch64 Message-ID: <202412141631.4BEGV5CE084984@gitrepo.freebsd.org>
next in thread | raw e-mail | index | archive | help
The branch main has been updated by ronald: URL: https://cgit.FreeBSD.org/ports/commit/?id=aaed796f0c83b585d20da69e593d1c99013fc0b6 commit aaed796f0c83b585d20da69e593d1c99013fc0b6 Author: Ronald Klop <ronald@FreeBSD.org> AuthorDate: 2024-12-03 20:24:16 +0000 Commit: Ronald Klop <ronald@FreeBSD.org> CommitDate: 2024-12-14 16:30:40 +0000 games/lwjgl: support aarch64 PR: 283048 Approved by: maintainer timeout --- games/lwjgl/Makefile | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/games/lwjgl/Makefile b/games/lwjgl/Makefile index e3b1879e6136..362473063aab 100644 --- a/games/lwjgl/Makefile +++ b/games/lwjgl/Makefile @@ -9,7 +9,7 @@ WWW= https://legacy.lwjgl.org LICENSE= BSD3CLAUSE -ONLY_FOR_ARCHS= amd64 i386 powerpc64 powerpc64le +ONLY_FOR_ARCHS= aarch64 amd64 i386 powerpc64 powerpc64le BUILD_DEPENDS= ${JAVAJARDIR}/jutils/jutils.jar:games/jutils \ ${JAVAJARDIR}/jinput/jinput.jar:games/jinput @@ -42,11 +42,11 @@ PLIST_FILES= ${JAVAJARDIR}/${PORTNAME}/${PORTNAME}.jar \ PLIST_FILES+= lib/${PORTNAME}/lib${PORTNAME}.so .endif -.if ${ARCH} == amd64 || ${ARCH:Mpowerpc64*} +.if ${ARCH} == aarch64 || ${ARCH} == amd64 || ${ARCH:Mpowerpc64*} PLIST_FILES+= lib/${PORTNAME}/lib${PORTNAME}64.so .endif -.if ${ARCH:Mpowerpc64*} +.if ${ARCH} == aarch64 || ${ARCH:Mpowerpc64*} MAKE_ARGS+= -Dbuild.64bit.only=1 .endif @@ -60,6 +60,9 @@ post-patch: .elif ${ARCH} == powerpc64le @${REINPLACE_CMD} -e 's|amd64|ppc64le|g' \ ${WRKSRC}/platform_build/bsd_ant/build.xml +.elif ${ARCH} == aarch64 + @${REINPLACE_CMD} -e 's|amd64|aarch64|g' \ + ${WRKSRC}/platform_build/bsd_ant/build.xml .endif do-install: @@ -73,7 +76,7 @@ do-install: ${INSTALL_DATA} ${WRKSRC}/libs/freebsd/lib${PORTNAME}.so \ ${STAGEDIR}${PREFIX}/lib/${PORTNAME} .endif -.if ${ARCH} == amd64 || ${ARCH:Mpowerpc64*} +.if ${ARCH} == aarch64 || ${ARCH} == amd64 || ${ARCH:Mpowerpc64*} ${INSTALL_DATA} ${WRKSRC}/libs/freebsd/lib${PORTNAME}64.so \ ${STAGEDIR}${PREFIX}/lib/${PORTNAME} .endif
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202412141631.4BEGV5CE084984>