git: 1adeafd9815f - main - security/wolfssl: enable SHA224 on powerpc* to fix haproxy@wolfssl

From: Piotr Kubaj <pkubaj_at_FreeBSD.org>
Date: Wed, 30 Jul 2025 21:12:10 UTC
The branch main has been updated by pkubaj:

URL: https://cgit.FreeBSD.org/ports/commit/?id=1adeafd9815f3e19aa12dc25a3fd48c2c0367aea

commit 1adeafd9815f3e19aa12dc25a3fd48c2c0367aea
Author:     Piotr Kubaj <pkubaj@FreeBSD.org>
AuthorDate: 2025-07-30 21:05:35 +0000
Commit:     Piotr Kubaj <pkubaj@FreeBSD.org>
CommitDate: 2025-07-30 21:05:35 +0000

    security/wolfssl: enable SHA224 on powerpc* to fix haproxy@wolfssl
---
 security/wolfssl/Makefile | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/security/wolfssl/Makefile b/security/wolfssl/Makefile
index 153d579d968d..d764d1571851 100644
--- a/security/wolfssl/Makefile
+++ b/security/wolfssl/Makefile
@@ -1,5 +1,6 @@
 PORTNAME=	wolfssl
 PORTVERSION=	5.8.2
+PORTREVISION=	1
 CATEGORIES=	security devel
 MASTER_SITES=	https://www.wolfssl.com/ \
 		LOCAL/fox
@@ -40,7 +41,10 @@ CONFIGURE_ARGS=	--disable-dependency-tracking \
 		--enable-context-extra-user-data
 TEST_TARGET=	check
 CFLAGS+=	-DWOLFSSL_ALT_NAMES -DWOLFSSL_GETRANDOM=1
-CFLAGS_i386+=	-DWOLFSSL_SHA224
+CFLAGS_i386=	-DWOLFSSL_SHA224
+CFLAGS_powerpc=	-DWOLFSSL_SHA224
+CFLAGS_powerpc64=	-DWOLFSSL_SHA224
+CFLAGS_powerpc64le=	-DWOLFSSL_SHA224
 
 OPTIONS_DEFINE=	DEBUG DOCS