git: 91f291c6c8c4 - main - sysutils/zidrav: fix endianness on mips*el*, powerpcspe

From: Dirk Meyer <dinoex_at_FreeBSD.org>
Date: Thu, 08 Feb 2024 16:14:13 UTC
The branch main has been updated by dinoex:

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

commit 91f291c6c8c4ddbeaf7532b098b17335fc46410c
Author:     Dirk Meyer <dinoex@FreeBSD.org>
AuthorDate: 2024-02-08 16:13:56 +0000
Commit:     Dirk Meyer <dinoex@FreeBSD.org>
CommitDate: 2024-02-08 16:13:56 +0000

    sysutils/zidrav: fix endianness on mips*el*, powerpcspe
    
    Differential Revision: https://reviews.freebsd.org/D42068
---
 sysutils/zidrav/Makefile | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/sysutils/zidrav/Makefile b/sysutils/zidrav/Makefile
index 3c323f242475..150ebecee05e 100644
--- a/sysutils/zidrav/Makefile
+++ b/sysutils/zidrav/Makefile
@@ -1,6 +1,6 @@
 PORTNAME=	zidrav
 PORTVERSION=	1.2.0
-PORTREVISION=	3
+PORTREVISION=	4
 CATEGORIES=	sysutils
 MASTER_SITES=	SF/${PORTNAME}/${PORTNAME}4unix/${PORTVERSION}
 DISTNAME=	zidrav4unix-${PORTVERSION}
@@ -28,7 +28,7 @@ CFLAGS+=	-Dcrc32_type=long
 CFLAGS+=	-Dcrc32_type=int
 .endif
 
-.if ! empty(ARCH:Mmips*) || ${ARCH} == powerpc || ${ARCH} == powerpc64
+.if ${ARCH} == mips || ${ARCH} == mipshf || ${ARCH} == mipsn32 || ${ARCH} == mips64 || ${ARCH} == mips64hf || ${ARCH} == powerpc || ${ARCH} == powerpcspe || ${ARCH} == powerpc64
 CFLAGS+=	-DCPU_BIGENDIAN
 .endif