From: David Marec Date: Wed, 26 May 2021 20:49:16 +0000 (+0200) Subject: Make port broken if openssl version 1.1.0+ is not available X-Git-Url: http://popeye.lapinbilly.eu/git/?a=commitdiff_plain;p=openiked-portable Make port broken if openssl version 1.1.0+ is not available i.e. FreeBSD older than rev 339732 with openssl from base --- diff --git a/Makefile b/Makefile index fc1669c..4ce702a 100644 --- a/Makefile +++ b/Makefile @@ -18,8 +18,17 @@ USE_RC_SUBR= iked USERS= _iked GROUPS= _iked +.include + +# 12.0-STABLE after updating OpenSSL shared library version numbers. +.if ${OPSYS} == FreeBSD && ${OSVERSION} < 1200086 +BROKEN_SSL= base +BROKEN_SSL_REASON_base= needs features only available in OpenSSL 1.1.0+ (DH_get0_pqg) +.endif + post-install: ${MV} ${STAGEDIR}${PREFIX}/etc/iked.conf \ ${STAGEDIR}${PREFIX}/etc/iked.conf.sample + .include