Skip to content

Commit

Permalink
sysutils/zidrav: fix endianness on mips*el*, powerpcspe
Browse files Browse the repository at this point in the history
Differential Revision: https://reviews.freebsd.org/D42068
  • Loading branch information
Dirk Meyer authored and Dirk Meyer committed Feb 8, 2024
1 parent 326016f commit 91f291c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions 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}
Expand Down Expand Up @@ -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

Expand Down

0 comments on commit 91f291c

Please sign in to comment.