aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMuhammad Moinur Rahman <bofh@FreeBSD.org>2023-08-17 15:58:36 +0000
committerMuhammad Moinur Rahman <bofh@FreeBSD.org>2023-08-17 18:34:20 +0000
commit8c884c6d591f357e78b53fb65d9265da61126c4e (patch)
tree93048c90b12293183dcddf52ddbeff13b036b6eb
parent9c70f9d4832ba53cb18c664c356670c653449d4d (diff)
downloadports-8c884c6d591f357e78b53fb65d9265da61126c4e.tar.gz
ports-8c884c6d591f357e78b53fb65d9265da61126c4e.zip
sysutils/rsfetch: Mark BROKEN on 14
Fails to compile with: error: pasting formed 'RUST_VERSION_OPENSSL_(', an invalid preprocessing token Mainly the rust crate cannot detect OpenSSL 3 and later Approved by: portmgr (blanket) Sponsored by: The FreeBSD Foundation
-rw-r--r--sysutils/rsfetch/Makefile8
1 files changed, 6 insertions, 2 deletions
diff --git a/sysutils/rsfetch/Makefile b/sysutils/rsfetch/Makefile
index 555255a866ba..b464a7c0ea3e 100644
--- a/sysutils/rsfetch/Makefile
+++ b/sysutils/rsfetch/Makefile
@@ -11,8 +11,6 @@ LICENSE= MIT
LICENSE_FILE= ${WRKSRC}/LICENSE
USES= cargo ssl
-BROKEN_SSL= openssl30 openssl31
-BROKEN_SSL_REASON= Fails to detect OpenSSL 3.0.0 and later
USE_GITHUB= yes
GH_ACCOUNT= ${PORTNAME}
@@ -211,6 +209,12 @@ PORTDOCS= CHANGELOG.md README.md
OPTIONS_DEFINE= DOCS
+.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}
${INSTALL_MAN} ${WRKSRC}/${PORTNAME}.1 ${STAGEDIR}${MAN1PREFIX}/man/man1