summaryrefslogtreecommitdiff
path: root/net-p2p/linuxdcpp
diff options
context:
space:
mode:
Diffstat (limited to 'net-p2p/linuxdcpp')
-rw-r--r--net-p2p/linuxdcpp/Makefile9
1 files changed, 8 insertions, 1 deletions
diff --git a/net-p2p/linuxdcpp/Makefile b/net-p2p/linuxdcpp/Makefile
index 9fa7ed539d95..615effdbcd4f 100644
--- a/net-p2p/linuxdcpp/Makefile
+++ b/net-p2p/linuxdcpp/Makefile
@@ -32,6 +32,13 @@ LDFLAGS+= -L${LOCALBASE}/lib
NOTIFY_LIB_DEPENDS= libnotify.so:devel/libnotify
NOTIFY_MAKE_ARGS_OFF= libnotify=0
+.include <bsd.port.pre.mk>
+
+.if ${SSL_DEFAULT} == base
+BROKEN_FreeBSD_12= member access into incomplete type 'dh_st'
+BROKEN_FreeBSD_13= member access into incomplete type 'dh_st'
+.endif
+
post-patch:
@${REINPLACE_CMD} -e "s/'iconv'/'${ICONV_LIB:S/-l//}'/" \
${WRKSRC}/SConstruct
@@ -40,4 +47,4 @@ post-patch:
post-install:
${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/${PORTNAME}
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>