summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--security/pvk/Makefile9
1 files changed, 8 insertions, 1 deletions
diff --git a/security/pvk/Makefile b/security/pvk/Makefile
index d3c89da676fb..774eefa4cf3b 100644
--- a/security/pvk/Makefile
+++ b/security/pvk/Makefile
@@ -17,6 +17,13 @@ LDFLAGS+= -L${OPENSSLLIB}
NO_WRKSUBDIR= yes
+.include <bsd.port.pre.mk>
+
+.if ${SSL_DEFAULT} == base
+BROKEN_FreeBSD_12= variable has incomplete type 'EVP_MD_CTX' (aka 'struct evp_md_ctx_st')
+BROKEN_FreeBSD_13= variable has incomplete type 'EVP_MD_CTX' (aka 'struct evp_md_ctx_st')
+.endif
+
post-patch:
${REINPLACE_CMD} -e 's|\(-lcrypto\)|$$(LDFLAGS) \1|g' \
${WRKSRC}/Makefile
@@ -26,4 +33,4 @@ do-install:
${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/README ${STAGEDIR}${DOCSDIR}
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>