From nobody Sat Dec 14 16:31:05 2024 X-Original-To: dev-commits-ports-main@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4Y9Wt21fz5z5gR7g; Sat, 14 Dec 2024 16:31:06 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R10" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Y9Wt20FMGz56g3; Sat, 14 Dec 2024 16:31:06 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1734193866; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=aj5k0bTHsTspQ/szZ+2xGTU8pA/zIAfA+AdCNt8AUR8=; b=pe2Y9tQr2OGK5hxMP5jgyrtVtIuii57JdeWBK2LepZQ27TGixDzpOlmnk09Hc60hLY92J9 62c5NroSKQ01pprXPnCJc9lzm8UDvurlMwGuUgarZG0szP+JEtNhKRHo1p3CtOxFMj/KLC R16OJYyt/gjVFkfJ3D1M5GvMcBJZ3HJHv1DLqTt3oUtls6f7rd6Mvg3nj4iLqiurmPurkj XVl8XkN0LTDGH5cKEvNhSBqJ0C1o86KtUms1mtQAPGyhrbag7Ixqoh2xzIXu4dXacCj7to pGl2mxt6OvHGfcvws6huolfxBdxOvwrhsYxzYGkjbBaok5OXcPfGeVEIcDUj1w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1734193866; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=aj5k0bTHsTspQ/szZ+2xGTU8pA/zIAfA+AdCNt8AUR8=; b=Whsw05NJoNY3VnHdjSyMN+ApQ8QhtWdRmoPuXwdJeqipB3wrjsUc2LlS6kna8oUumKvaBv CWop+92Cdgq0ww5jShK/Wl+Njr64zsbeuiv0xDynWlrInd+frJe+8AJbQo+ca7jh9zMNrh U4+aEsgF+aYwgLWEqk0eNCT/WVyxspJ/PWb68QV3tr5BL8MHYrdcoHEDxTi8SrCT7mFX9h ddCutE3PWtV6wS8d96wA9Vgj1PGUQ5ATGyt26CN0qHPrkerddbu03vq+kiWw3Fm7zUZRds MDIsr8zpckoIj51SbUSi+hn459tHza/tGVCIzn1E6nzw2wT7roFOumcB0A3smQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1734193866; a=rsa-sha256; cv=none; b=T/FLurD5Nzo9xsRbGXfVOoTvymJrDZCUpCdr6VJi3OPl1IlwfxKVmQTQabmAkBd/Bx3W1K Hnt3t43P36paRgoHwi94r/aW6EYjENZC/X7OsFSZ538G5qndpLUrgxb3hL0dXGn5Kou0vs AAYtQ0ovXfM8rYBBs8I24AqKfZaXcObHq0vIxgFFrnVGeM5xqFYeHlMsK6XILRk7aHrpTD xPpsBShYGgeHmfXh3g9dnFe6fbQspmqW4Kcsv2s3F42K44nKfqm6PGu5SyBFSfzyHOYzkz teBLyKYYiNBEXe+OlPJXoyxogg7wOzF3602ydI1W+sUndVSfZyGJKfosIJY7iw== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4Y9Wt16ycFzW4V; Sat, 14 Dec 2024 16:31:05 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.18.1/8.18.1) with ESMTP id 4BEGV5YA084987; Sat, 14 Dec 2024 16:31:05 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.18.1/8.18.1/Submit) id 4BEGV5CE084984; Sat, 14 Dec 2024 16:31:05 GMT (envelope-from git) Date: Sat, 14 Dec 2024 16:31:05 GMT Message-Id: <202412141631.4BEGV5CE084984@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Ronald Klop Subject: git: aaed796f0c83 - main - games/lwjgl: support aarch64 List-Id: Commits to the main branch of the FreeBSD ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: dev-commits-ports-main@freebsd.org Sender: owner-dev-commits-ports-main@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: ronald X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: aaed796f0c83b585d20da69e593d1c99013fc0b6 Auto-Submitted: auto-generated The branch main has been updated by ronald: URL: https://cgit.FreeBSD.org/ports/commit/?id=aaed796f0c83b585d20da69e593d1c99013fc0b6 commit aaed796f0c83b585d20da69e593d1c99013fc0b6 Author: Ronald Klop AuthorDate: 2024-12-03 20:24:16 +0000 Commit: Ronald Klop 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