aboutsummaryrefslogtreecommitdiff
path: root/security/libp11
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 /security/libp11
parentd5cdd2a8e222c26acf04e842b9e894c2606b9db5 (diff)
downloadports-af156cc4f2be115c9a789fa509434381efed1b74.tar.gz
ports-af156cc4f2be115c9a789fa509434381efed1b74.zip
Notes
Diffstat (limited to 'security/libp11')
-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>