summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn Marino <marino@FreeBSD.org>2016-09-16 14:35:16 +0000
committerJohn Marino <marino@FreeBSD.org>2016-09-16 14:35:16 +0000
commitaf156cc4f2be115c9a789fa509434381efed1b74 (patch)
tree87f0cec3e66079f271ecdeea661b878b76b06e74
parentsecurity/openscep: Mark IGNORE if SSL_DEFAULT matches libressl (diff)
security/libp11: Mark IGNORE if SSL_DEFAULT matchs libressl
This port has numerous OPENSSL_VERSION_NUMBER preprocessor checks which are nontrivial to modify for LibreSSL support. Mark the port IGNOREd for LibreSSL case until somebody manages to support libressl. Approved by: SSL blanket
-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>