aboutsummaryrefslogtreecommitdiff
path: root/sysutils/cfengine311
diff options
context:
space:
mode:
authorCy Schubert <cy@FreeBSD.org>2018-10-31 05:10:50 +0000
committerCy Schubert <cy@FreeBSD.org>2018-10-31 05:10:50 +0000
commit5df07e7f564fcf28cf124f4522571a8e84dd9a19 (patch)
treeca9ff61194941d48ab185ea5003de3b9ed6f4d48 /sysutils/cfengine311
parent66df9fc4affe922917d7a205ecce3185d0d07872 (diff)
downloadports-5df07e7f564fcf28cf124f4522571a8e84dd9a19.tar.gz
ports-5df07e7f564fcf28cf124f4522571a8e84dd9a19.zip
Rather than flag cfengine ports that do not support openssl111
unconditionally BROKEN under FreeBSD 12 & 13, only flag BROKEN when security/openssl is not installed on systems after openssl111 was committed to 12-CURRENT. PR: 232709 Reported by: linimon
Notes
Notes: svn path=/head/; revision=483549
Diffstat (limited to 'sysutils/cfengine311')
-rw-r--r--sysutils/cfengine311/Makefile13
1 files changed, 10 insertions, 3 deletions
diff --git a/sysutils/cfengine311/Makefile b/sysutils/cfengine311/Makefile
index e7ff2aebb5b4..8dc40981979a 100644
--- a/sysutils/cfengine311/Makefile
+++ b/sysutils/cfengine311/Makefile
@@ -18,8 +18,6 @@ CPE_VENDOR= gnu
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
CONFLICTS= cfengine-2* cfengine3[0-9]-* cfengine31[02-9]-*
.if !defined(MASTERDIR)
@@ -75,4 +73,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>