git: 950f31c9087e - main - security/wolfssl: ubreak i386 build.
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Wed, 01 Jul 2026 11:34:48 UTC
The branch main has been updated by fox:
URL: https://cgit.FreeBSD.org/ports/commit/?id=950f31c9087e918db84b2a97164c12bf7bf0416d
commit 950f31c9087e918db84b2a97164c12bf7bf0416d
Author: Santhosh Raju <fox@FreeBSD.org>
AuthorDate: 2026-07-01 11:34:01 +0000
Commit: Santhosh Raju <fox@FreeBSD.org>
CommitDate: 2026-07-01 11:34:41 +0000
security/wolfssl: ubreak i386 build.
---
security/wolfssl/Makefile | 8 ++++++++
security/wolfssl/pkg-plist | 2 +-
2 files changed, 9 insertions(+), 1 deletion(-)
diff --git a/security/wolfssl/Makefile b/security/wolfssl/Makefile
index 375c99fd2981..c080a79303a2 100644
--- a/security/wolfssl/Makefile
+++ b/security/wolfssl/Makefile
@@ -56,6 +56,14 @@ OPTIONS_DEFINE= DEBUG DOCS
DEBUG_CONFIGURE_ON= --enable-debug
+.include <bsd.port.options.mk>
+
+.if "${ARCH}" == "i386"
+PLIST_SUB+= NOTI386="@comment "
+.else
+PLIST_SUB+= NOTI386=""
+.endif
+
post-configure:
@${REINPLACE_CMD} \
-e 's|$${prefix}/cyassl/include|$${prefix}/include/cyassl|' \
diff --git a/security/wolfssl/pkg-plist b/security/wolfssl/pkg-plist
index 05ffec14c4e7..861362166cb3 100644
--- a/security/wolfssl/pkg-plist
+++ b/security/wolfssl/pkg-plist
@@ -139,7 +139,7 @@ include/wolfssl/wolfcrypt/siphash.h
include/wolfssl/wolfcrypt/sm2.h
include/wolfssl/wolfcrypt/sm3.h
include/wolfssl/wolfcrypt/sm4.h
-include/wolfssl/wolfcrypt/sp.h
+%%NOTI386%%include/wolfssl/wolfcrypt/sp.h
include/wolfssl/wolfcrypt/sp_int.h
include/wolfssl/wolfcrypt/srp.h
include/wolfssl/wolfcrypt/tfm.h