aboutsummaryrefslogtreecommitdiffstats
path: root/sysutils/cfengine38
diff options
context:
space:
mode:
authorcy <cy@FreeBSD.org>2018-10-31 13:10:50 +0800
committercy <cy@FreeBSD.org>2018-10-31 13:10:50 +0800
commit357ecbe191ca22fa502800dc01c93ecefc869ee0 (patch)
treeca9ff61194941d48ab185ea5003de3b9ed6f4d48 /sysutils/cfengine38
parent6c15434438eeeb283a7c5403bfdef25b5f4180b9 (diff)
downloadfreebsd-ports-gnome-357ecbe191ca22fa502800dc01c93ecefc869ee0.tar.gz
freebsd-ports-gnome-357ecbe191ca22fa502800dc01c93ecefc869ee0.tar.zst
freebsd-ports-gnome-357ecbe191ca22fa502800dc01c93ecefc869ee0.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
Diffstat (limited to 'sysutils/cfengine38')
-rw-r--r--sysutils/cfengine38/Makefile13
1 files changed, 10 insertions, 3 deletions
diff --git a/sysutils/cfengine38/Makefile b/sysutils/cfengine38/Makefile
index 2801e978a32d..2602fea3b566 100644
--- a/sysutils/cfengine38/Makefile
+++ b/sysutils/cfengine38/Makefile
@@ -14,8 +14,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
@@ -72,4 +70,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>