summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--security/libp11/Makefile11
1 files changed, 8 insertions, 3 deletions
diff --git a/security/libp11/Makefile b/security/libp11/Makefile
index f7e95744c816..0351d9913342 100644
--- a/security/libp11/Makefile
+++ b/security/libp11/Makefile
@@ -18,9 +18,8 @@ OPTIONS_DEFINE= DOCS EXAMPLES
USE_GITHUB= yes
GH_ACCOUNT= OpenSC
-USE_OPENSSL= yes
GNU_CONFIGURE= yes
-USES= autoreconf libtool pkgconfig
+USES= autoreconf libtool pkgconfig ssl
USE_LDCONFIG= yes
MAKE_JOBS_UNSAFE= yes
@@ -36,10 +35,16 @@ INSTALL_TARGET= install-strip
PORTDOCS= *
+.include <bsd.port.pre.mk>
+
+.if ${SSL_DEFAULT:Mlibressl*}
+IGNORE= Detected LibreSSL (numerous OPENSSL_VERSION_NUMBER preprocessor conditions)
+.endif
+
post-install-EXAMPLES-on:
@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
${INSTALL_DATA} ${WRKSRC}/examples/README ${STAGEDIR}${EXAMPLESDIR}
${INSTALL_DATA} ${WRKSRC}/examples/Makefile ${STAGEDIR}${EXAMPLESDIR}
${INSTALL_DATA} ${WRKSRC}/examples/*.c ${STAGEDIR}${EXAMPLESDIR}
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>