summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--databases/puppetdb-cli/Makefile13
1 files changed, 12 insertions, 1 deletions
diff --git a/databases/puppetdb-cli/Makefile b/databases/puppetdb-cli/Makefile
index 9be56f592c10..f7521b78935c 100644
--- a/databases/puppetdb-cli/Makefile
+++ b/databases/puppetdb-cli/Makefile
@@ -11,6 +11,10 @@ COMMENT= PuppetDB CLI Tooling
LICENSE= APACHE20
LICENSE_FILE= ${WRKSRC}/LICENSE
+BROKEN_SSL= libressl openssl111
+BROKEN_SSL_REASON_libressl= Needs an old version of OpenSSL (older than 1.1)
+BROKEN_SSL_REASON_openssl111= Needs an older version of OpenSSL (older than 1.1)
+
USES= cargo perl5 ssl
USE_GITHUB= yes
USE_PERL5= build
@@ -90,6 +94,13 @@ CARGO_CRATES= advapi32-sys-0.2.0 \
winapi-build-0.1.1 \
winreg-0.4.0
+.include <bsd.port.pre.mk>
+
+.if ${OSVERSION} >= 1200085
+BROKEN_SSL+= base
+BROKEN_SSL_REASON_base= Needs an older version of OpenSSL (older than 1.1)
+.endif
+
PLIST_FILES= bin/puppet-db \
bin/puppet-query \
man/man8/puppet-db.8.gz \
@@ -108,4 +119,4 @@ post-install:
${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/puppet-query
cd ${WRKSRC} && ./pod2man.sh ${STAGEDIR}${MANPREFIX}
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>