From b2f0be90fd648e794776461fe5463b413052b1d9 Mon Sep 17 00:00:00 2001
From: Antoine Brodin <antoine@FreeBSD.org>
Date: Wed, 3 Apr 2019 08:25:30 +0000
Subject: Mark BROKEN on FreeBSD 12 and 13

Reported by:	pkg-fallout
MFH:		2019Q2
---
 lang/phantomjs/Makefile | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/lang/phantomjs/Makefile b/lang/phantomjs/Makefile
index 1eb96f2b99f6..0768bd1e110b 100644
--- a/lang/phantomjs/Makefile
+++ b/lang/phantomjs/Makefile
@@ -42,6 +42,11 @@ X11_USE=	XORG=x11
 
 .include <bsd.port.options.mk>
 
+.if ${SSL_DEFAULT} == base
+BROKEN_FreeBSD_12=	error: member access into incomplete type 'X509' (aka 'x509_st')
+BROKEN_FreeBSD_13=	error: member access into incomplete type 'X509' (aka 'x509_st')
+.endif
+
 # qmake.conf detection is in src/qt/qtbase/configure script.
 SPEC=	${WRKSRC}/src/qt/qtbase/mkspecs
 post-extract:
-- 
cgit debian/1.2.3+git2.25.1-1-2-gaceb0