git: 0d9e3c1fa602 - main - security/botan2: force little-endian mode on powerpc64le

From: Piotr Kubaj <pkubaj_at_FreeBSD.org>
Date: Thu, 10 Aug 2023 11:21:07 UTC
The branch main has been updated by pkubaj:

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

commit 0d9e3c1fa602363826071359dde0964150584e47
Author:     Piotr Kubaj <pkubaj@FreeBSD.org>
AuthorDate: 2023-08-10 11:20:11 +0000
Commit:     Piotr Kubaj <pkubaj@FreeBSD.org>
CommitDate: 2023-08-10 11:21:01 +0000

    security/botan2: force little-endian mode on powerpc64le
---
 security/botan2/Makefile | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/security/botan2/Makefile b/security/botan2/Makefile
index 6d11a7e2137f..c111ecf88fee 100644
--- a/security/botan2/Makefile
+++ b/security/botan2/Makefile
@@ -1,6 +1,6 @@
 PORTNAME=	botan
 DISTVERSION=	2.19.3
-PORTREVISION=	3
+PORTREVISION=	4
 CATEGORIES=	security
 MASTER_SITES=	http://botan.randombit.net/releases/
 PKGNAMESUFFIX=	2
@@ -77,8 +77,10 @@ SQLITE3_CONFIGURE_WITH=	sqlite3
 
 .if ${ARCH} == aarch64
 CONFIGURE_ARGS+=	--cc-abi="-march=armv8-a+crypto"
-.elif ${ARCH:Mpowerpc64*}
+.elif ${ARCH} == powerpc64
 CONFIGURE_ARGS+=	--cpu="ppc64"
+.elif ${ARCH} == powerpc64le
+CONFIGURE_ARGS+=	--cpu="ppc64le"
 .endif
 
 .if ${ARCH} == i386 || ${ARCH} == amd64