git: 2cc6a315eada - main - net/bctoolbox: Make IGNORE dependent on openssl

From: Muhammad Moinur Rahman <bofh_at_FreeBSD.org>
Date: Mon, 27 Oct 2025 13:44:09 UTC
The branch main has been updated by bofh:

URL: https://cgit.FreeBSD.org/ports/commit/?id=2cc6a315eada296f6f7637fb2163d283d7d79f03

commit 2cc6a315eada296f6f7637fb2163d283d7d79f03
Author:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
AuthorDate: 2025-10-27 12:16:17 +0000
Commit:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
CommitDate: 2025-10-27 13:43:38 +0000

    net/bctoolbox: Make IGNORE dependent on openssl
    
    PR:             290105
    Reported by:    lhersch@dssgmbh.de
---
 net/bctoolbox/Makefile | 8 ++++++--
 1 file changed, 6 insertions(+), 2 deletions(-)

diff --git a/net/bctoolbox/Makefile b/net/bctoolbox/Makefile
index b790f7ce08ae..790214d3f004 100644
--- a/net/bctoolbox/Makefile
+++ b/net/bctoolbox/Makefile
@@ -9,8 +9,6 @@ WWW=		https://gitlab.linphone.org/BC/public/bctoolbox
 LICENSE=	GPLv3
 LICENSE_FILE=	${WRKSRC}/LICENSE.txt
 
-IGNORE_FreeBSD_13=	is not supported on systems with OpenSSL 1.1.1
-
 LIB_DEPENDS=	libbcunit.so:devel/bcunit
 
 USES=		cmake compiler:c++17-lang ssl
@@ -29,6 +27,12 @@ CMAKE_OFF=		ENABLE_UNIT_TESTS
 CFLAGS+=	-DHAVE_ARC4RANDOM
 LDFLAGS+=		-lpthread
 
+.include <bsd.port.options.mk>
+
+.if ( ${OPSYS} == FreeBSD && ${OSVERSION} < 1400092 && ${SSL_DEFAULT} == base ) || ${SSL_DEFAULT:Mopenssl111}
+IGNORE=	is not supported on systems with OpenSSL 1.1.1
+.endif
+
 post-patch:
 	@${REINPLACE_CMD} '/clock_gettime/d' ${WRKSRC}/CMakeLists.txt