git: d99d33d20ece - main - security/botan3: fix runtime on powerpc64le
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Wed, 29 Jan 2025 16:58:04 UTC
The branch main has been updated by pkubaj:
URL: https://cgit.FreeBSD.org/ports/commit/?id=d99d33d20eceac41c76376030aa209467855c9c4
commit d99d33d20eceac41c76376030aa209467855c9c4
Author: Piotr Kubaj <pkubaj@FreeBSD.org>
AuthorDate: 2025-01-24 13:01:58 +0000
Commit: Piotr Kubaj <pkubaj@FreeBSD.org>
CommitDate: 2025-01-29 16:56:42 +0000
security/botan3: fix runtime on powerpc64le
INFO: Assuming target ppc64 is big endian
---
security/botan3/Makefile | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/security/botan3/Makefile b/security/botan3/Makefile
index b91a1ef111d5..4f029ff2a362 100644
--- a/security/botan3/Makefile
+++ b/security/botan3/Makefile
@@ -1,5 +1,6 @@
PORTNAME= botan
DISTVERSION= 3.6.1
+PORTREVISION= 1
CATEGORIES= security
MASTER_SITES= http://botan.randombit.net/releases/
PKGNAMESUFFIX= ${_BOTANMAJOR}
@@ -66,11 +67,13 @@ 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"
.if !defined(MACHINE_CPU) || (defined(MACHINE_CPU) && !${MACHINE_ABI:Mvsx2})
CONFIGURE_ARGS+= --disable-powercrypto
.endif
+.elif ${ARCH} == powerpc64le
+CONFIGURE_ARGS+= --cpu="ppc64le"
.endif
.if ${ARCH} == i386 || ${ARCH} == amd64