Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 17 Aug 2023 18:34:33 GMT
From:      Muhammad Moinur Rahman <bofh@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: 8c884c6d591f - main - sysutils/rsfetch: Mark BROKEN on 14
Message-ID:  <202308171834.37HIYXLI046739@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by bofh:

URL: https://cgit.FreeBSD.org/ports/commit/?id=8c884c6d591f357e78b53fb65d9265da61126c4e

commit 8c884c6d591f357e78b53fb65d9265da61126c4e
Author:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
AuthorDate: 2023-08-17 15:58:36 +0000
Commit:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
CommitDate: 2023-08-17 18:34:20 +0000

    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
---
 sysutils/rsfetch/Makefile | 8 ++++++--
 1 file 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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202308171834.37HIYXLI046739>