summaryrefslogtreecommitdiff
path: root/net/bctoolbox/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'net/bctoolbox/Makefile')
-rw-r--r--net/bctoolbox/Makefile8
1 files 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