aboutsummaryrefslogtreecommitdiff
path: root/sysutils/cfengine37/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'sysutils/cfengine37/Makefile')
-rw-r--r--sysutils/cfengine37/Makefile13
1 files changed, 10 insertions, 3 deletions
diff --git a/sysutils/cfengine37/Makefile b/sysutils/cfengine37/Makefile
index 0e1522570153..cd596d4cfa61 100644
--- a/sysutils/cfengine37/Makefile
+++ b/sysutils/cfengine37/Makefile
@@ -13,8 +13,6 @@ COMMENT= Systems administration tool for networks
DEPRECATED= OpenSSL 1.1.X is not supported.
EXPIRATION_DATE= 2021-09-30
-BROKEN_FreeBSD_12= openssl111 is not supported
-BROKEN_FreeBSD_13= openssl111 is not supported
LICENSE= GPLv3
@@ -70,4 +68,13 @@ MYSQL_LDFLAGS= -L${LOCALBASE}/lib/mysql
LIBVIRT_CONFIGURE_WITH= --with-libvirt=${LOCALBASE}
LIBVIRT_LIB_DEPENDS= libvirt.so:devel/libvirt
-.include <bsd.port.mk>
+.include <bsd.port.pre.mk>
+
+.if ${OPSYS} == "FreeBSD" && ${OSVERSION} >= 1200085
+.if ${SSL_DEFAULT} != "openssl"
+BROKEN_FreeBSD_12= fails to build with openssl111, install security/openssl
+BROKEN_FreeBSD_13= fails to build with openssl111, install security/openssl
+.endif
+.endif
+
+.include <bsd.port.post.mk>