git: 4a3f2a2ba612 - main - security/botan3: fix build on powerpc64
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Tue, 26 Aug 2025 08:21:13 UTC
The branch main has been updated by pkubaj:
URL: https://cgit.FreeBSD.org/ports/commit/?id=4a3f2a2ba6123d8df766897aaea5f2a57d136292
commit 4a3f2a2ba6123d8df766897aaea5f2a57d136292
Author: Piotr Kubaj <pkubaj@FreeBSD.org>
AuthorDate: 2025-08-26 08:19:15 +0000
Commit: Piotr Kubaj <pkubaj@FreeBSD.org>
CommitDate: 2025-08-26 08:21:09 +0000
security/botan3: fix build on powerpc64
1. Actually fix detection of Crypto extensions.
2. --disable-powercrypto no longer works:
configure.py: error: no such option: --disable-powercrypto
Explicitly disable modules using VSX and Crypto.
---
security/botan3/Makefile | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/security/botan3/Makefile b/security/botan3/Makefile
index 0338032a2343..6f79df55eb9a 100644
--- a/security/botan3/Makefile
+++ b/security/botan3/Makefile
@@ -81,8 +81,8 @@ CHOSEN_COMPILER_TYPE= clang
CONFIGURE_ARGS+= --cc-abi="-march=armv8-a+crypto"
.elif ${ARCH:Mpowerpc64*}
CONFIGURE_ARGS+= --cpu="ppc64"
-.if !defined(MACHINE_CPU) || (defined(MACHINE_CPU) && !${MACHINE_ABI:Mvsx2})
-CONFIGURE_ARGS+= --disable-powercrypto
+.if !defined(MACHINE_CPU) || (defined(MACHINE_CPU) && !${MACHINE_CPU:Mvsx2})
+CONFIGURE_ARGS+= --disable-modules=aes_power8,ghash_cpu
.endif
.endif