summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMuhammad Moinur Rahman <bofh@FreeBSD.org>2023-08-18 06:43:43 +0200
committerMuhammad Moinur Rahman <bofh@FreeBSD.org>2023-08-18 06:56:23 +0200
commit9141bfbc40fc6932633b820f6bb612dc75c897c3 (patch)
treefc322216fbc42b354c720f1a081d570965a2aa3f
parentfinance/expense: Fix build with llvm16 (diff)
dns/dog: Mark BROKEN on 14
Rust crate fails to detect OpenSSL 3 and later. Approved by: portmgr (blanket) Sponsored by: The FreeBSD Foundation
-rw-r--r--dns/dog/Makefile8
1 files changed, 6 insertions, 2 deletions
diff --git a/dns/dog/Makefile b/dns/dog/Makefile
index 732ad6cd84aa..9154dbe42403 100644
--- a/dns/dog/Makefile
+++ b/dns/dog/Makefile
@@ -14,8 +14,6 @@ LICENSE_FILE= ${WRKSRC}/LICENCE
LICENSE_PERMS= dist-mirror dist-sell pkg-mirror pkg-sell auto-accept
USES= cargo ssl
-BROKEN_SSL= openssl30 openssl31
-BROKEN_SSL_REASON= Fails to detect OpenSSL 3.0.0 and later
USE_GITHUB= yes
GH_ACCOUNT= ogham
@@ -107,6 +105,12 @@ COMPLETIONS_PLIST_FILES= share/bash-completion/completions/${PORTNAME} \
share/fish/vendor_completions.d/${PORTNAME}.fish \
share/zsh/site-functions/_${PORTNAME}
+.include <bsd.port.options.mk>
+
+.if ( ${OPSYS} == FreeBSD && ${OSVERSION} >= 1400092 && ${SSL_DEFAULT} == base ) || ${SSL_DEFAULT:Mopenssl3*}
+BROKEN= Fails to detect OpenSSL 3.0.0 and later
+.endif
+
post-install:
${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/${PORTNAME}