git: c2a7241a3b47 - main - math/sleef: enable ARMv7

From: Johannes M Dieterich <jmd_at_FreeBSD.org>
Date: Fri, 31 Dec 2021 17:33:56 UTC
The branch main has been updated by jmd:

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

commit c2a7241a3b4715b3ee6f8d53ea0f2a7569aa034f
Author:     Johannes M Dieterich <jmd@FreeBSD.org>
AuthorDate: 2021-12-31 17:30:36 +0000
Commit:     Johannes M Dieterich <jmd@FreeBSD.org>
CommitDate: 2021-12-31 17:33:45 +0000

    math/sleef: enable ARMv7
    
    PR:             259922
    Reported by:    Robert Clausecker
---
 math/sleef/Makefile  | 8 ++++----
 math/sleef/pkg-descr | 2 +-
 math/sleef/pkg-plist | 6 +++---
 3 files changed, 8 insertions(+), 8 deletions(-)

diff --git a/math/sleef/Makefile b/math/sleef/Makefile
index 6e53667c2ffb..db3df4dec066 100644
--- a/math/sleef/Makefile
+++ b/math/sleef/Makefile
@@ -2,7 +2,7 @@
 
 PORTNAME=	sleef
 DISTVERSION=	3.5.0
-PORTREVISION=	1
+PORTREVISION=	2
 CATEGORIES=	math
 
 MAINTAINER=	jmd@FreeBSD.org
@@ -21,10 +21,10 @@ CFLAGS_powerpc64=	-mpower8-vector
 
 .include <bsd.port.options.mk>
 
-.if ${ARCH:Mpowerpc64*}
-PLIST_SUB+=	NO_PPC64="@comment "
+.if ${ARCH:Mpowerpc64*} || ${ARCH:Marmv?}
+PLIST_SUB+=	GNUABI="@comment "
 .else
-PLIST_SUB+=	NO_PPC64=""
+PLIST_SUB+=	GNUABI=""
 .endif
 
 .include <bsd.port.mk>
diff --git a/math/sleef/pkg-descr b/math/sleef/pkg-descr
index 3de8c8f868c5..f6289d3fdf72 100644
--- a/math/sleef/pkg-descr
+++ b/math/sleef/pkg-descr
@@ -4,4 +4,4 @@ In this library, functions for evaluating some elementary functions are
 implemented. It provides a vectorized libm alternativ. The library also
 includes DFT subroutines.
 
-WWW: https://github.com/shibara/sleef
+WWW: https://sleef.org
diff --git a/math/sleef/pkg-plist b/math/sleef/pkg-plist
index 114cfab88176..0fed0d7d0654 100644
--- a/math/sleef/pkg-plist
+++ b/math/sleef/pkg-plist
@@ -6,7 +6,7 @@ lib/libsleef.so.3.5.0
 lib/libsleefdft.so
 lib/libsleefdft.so.3
 lib/libsleefdft.so.3.5.0
-%%NO_PPC64%%lib/libsleefgnuabi.so
-%%NO_PPC64%%lib/libsleefgnuabi.so.3
-%%NO_PPC64%%lib/libsleefgnuabi.so.3.5
+%%GNUABI%%lib/libsleefgnuabi.so
+%%GNUABI%%lib/libsleefgnuabi.so.3
+%%GNUABI%%lib/libsleefgnuabi.so.3.5
 libdata/pkgconfig/sleef.pc