aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--security/dsniff/Makefile9
1 files changed, 8 insertions, 1 deletions
diff --git a/security/dsniff/Makefile b/security/dsniff/Makefile
index 02a656c5f81f..9ab2954a9027 100644
--- a/security/dsniff/Makefile
+++ b/security/dsniff/Makefile
@@ -35,9 +35,16 @@ OPTIONS_SUB= yes
X11_USE= xorg=x11,xmu
X11_CONFIGURE_WITH=x
+.include <bsd.port.pre.mk>
+
+.if ${SSL_DEFAULT} == base
+BROKEN_FreeBSD_12= incomplete definition of type 'struct rsa_st'
+BROKEN_FreeBSD_13= incomplete definition of type 'struct rsa_st'
+.endif
+
post-patch:
@${REINPLACE_CMD} -e 's,csin,_csin,g' \
${WRKSRC}/webmitm.c \
${WRKSRC}/sshmitm.c
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>