git: a4eeb47ca90f - main - java/sigar: enable on armv6 and armv7

From: Ronald Klop <ronald_at_FreeBSD.org>
Date: Mon, 28 Oct 2024 14:42:44 UTC
The branch main has been updated by ronald:

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

commit a4eeb47ca90f390035df01db31c0a64d04b801f1
Author:     Ronald Klop <ronald@FreeBSD.org>
AuthorDate: 2024-10-28 14:38:13 +0000
Commit:     Ronald Klop <ronald@FreeBSD.org>
CommitDate: 2024-10-28 14:42:22 +0000

    java/sigar: enable on armv6 and armv7
    
    builds and packages fine
    does not touch existing architectures
    it was marked broken in 2017 without mention of the error message
    FreeBSD and OpenJDK had quite some improvements since 2017
    
    Approved by:    port has no maintainer
---
 java/sigar/Makefile | 5 +----
 1 file changed, 1 insertion(+), 4 deletions(-)

diff --git a/java/sigar/Makefile b/java/sigar/Makefile
index 6f8447b9fa62..624c71f70085 100644
--- a/java/sigar/Makefile
+++ b/java/sigar/Makefile
@@ -11,9 +11,6 @@ WWW=		https://support.hyperic.com/display/SIGAR/Home
 LICENSE=	APACHE20
 LICENSE_FILE=	${WRKSRC}/NOTICE
 
-BROKEN_armv6=		fails to compile: jni-build.xml: gcc failed with return code 1
-BROKEN_armv7=		fails to compile: jni-build.xml: gcc failed with return code 1
-
 BUILD_DEPENDS=	${ANT_CMD}:devel/apache-ant
 LIB_DEPENDS=	libsigar.so:devel/sigar
 TEST_DEPENDS=	${JAVALIBDIR}/junit.jar:java/junit
@@ -37,7 +34,7 @@ INVOKE_ANT=	${SETENV} PATH=${PATH}:${WRKSRC}/bin JAVA_HOME=${JAVA_HOME} \
 .include <bsd.port.pre.mk>
 
 .if ${OPSYS} == FreeBSD
-LIBNAME=	libsigar-${ARCH:S,i386,x86,:S,powerpc64,ppc64,}-${OPSYS:tl}-1
+LIBNAME=	libsigar-${ARCH:S,armv6,arm,:S,armv7,arm,:S,i386,x86,:S,powerpc64,ppc64,}-${OPSYS:tl}-1
 .else
 IGNORE=		${OPSYS} platform is not supported
 .endif