git: 8763d52d02b0 - main - devel/jna: unbreak armv6 and armv7

From: Ronald Klop <ronald_at_FreeBSD.org>
Date: Thu, 24 Oct 2024 11:47:05 UTC
The branch main has been updated by ronald:

URL: https://cgit.FreeBSD.org/ports/commit/?id=8763d52d02b02f3c6e2fc7f470d3fb8141e32646

commit 8763d52d02b02f3c6e2fc7f470d3fb8141e32646
Author:     Ronald Klop <ronald@FreeBSD.org>
AuthorDate: 2024-10-24 10:38:52 +0000
Commit:     Ronald Klop <ronald@FreeBSD.org>
CommitDate: 2024-10-24 11:46:45 +0000

    devel/jna: unbreak armv6 and armv7
    
    PR:     282297
    Approved by:    Mark Dixon (maintainer)
---
 devel/jna/Makefile | 7 ++-----
 1 file changed, 2 insertions(+), 5 deletions(-)

diff --git a/devel/jna/Makefile b/devel/jna/Makefile
index 280f47018dbf..1a7c6ad79a83 100644
--- a/devel/jna/Makefile
+++ b/devel/jna/Makefile
@@ -1,6 +1,6 @@
 PORTNAME=	jna
 PORTVERSION=	5.15.0
-PORTREVISION=	1
+PORTREVISION=	2
 CATEGORIES=	devel java
 
 MAINTAINER=	ports@markdixon.name
@@ -13,9 +13,6 @@ LICENSE_FILE_APACHE20=	${WRKSRC}/AL2.0
 LICENSE_FILE_LGPL21+ =	${WRKSRC}/LGPL2.1
 LICENSE_FILE=	${WRKSRC}/LICENSE
 
-BROKEN_armv6=	fails to compile: build.xml: compilation failed
-BROKEN_armv7=	fails to compile: build.xml: compilation failed
-
 BUILD_DEPENDS=	makeinfo:print/texinfo
 
 USES=		autoreconf:build gmake libtool xorg
@@ -39,7 +36,7 @@ PORTDOCS=	javadoc platform-${PORTVERSION}-javadoc.jar
 
 OPTIONS_DEFINE=	DOCS
 
-ANT_ARCH=	${ARCH:S/amd64/x86-64/:S/i386/x86/:S/powerpc64/ppc64/}
+ANT_ARCH=	${ARCH:S/amd64/x86-64/:S/armv6/arm/:S/armv7/arm/:S/i386/x86/:S/powerpc64/ppc64/}
 
 post-patch:
 	@${REINPLACE_CMD} -e 's|%%LOCALBASE%%|${LOCALBASE}|' \