aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMuhammad Moinur Rahman <bofh@FreeBSD.org>2023-08-07 13:24:34 +0000
committerMuhammad Moinur Rahman <bofh@FreeBSD.org>2023-08-07 15:24:44 +0000
commit441d20200e3d6e07be71b0ee09abb3bbafa5b8df (patch)
tree47f5f92f5b0ca3d14eb36bc0d57c514e661d1c06
parent89da58f3b0f2513057f8099c44edcf54e6f36209 (diff)
downloadports-441d20200e3d6e07be71b0ee09abb3bbafa5b8df.tar.gz
ports-441d20200e3d6e07be71b0ee09abb3bbafa5b8df.zip
www/rearx: Mark BROKEN_SSL for 14
OpenSSL 3 has been merged into OSVERSION 1400092 so also mark BROKEN_SSL for 14 and OSVERSION 1400092 onwards. Approved by: portmgr (blanket) Sponsored by: The FreeBSD Foundation
-rw-r--r--www/rearx/Makefile9
1 files changed, 7 insertions, 2 deletions
diff --git a/www/rearx/Makefile b/www/rearx/Makefile
index 2911aad25893..eb65eba9fb58 100644
--- a/www/rearx/Makefile
+++ b/www/rearx/Makefile
@@ -12,8 +12,6 @@ LICENSE= GPLv3
LICENSE_FILE= ${WRKSRC}/LICENSE.md
USES= cargo ssl
-BROKEN_SSL= openssl30 openssl31
-BROKEN_SSL_REASON= Fails to detect OpenSSL 3.0.0 and later
USE_GITHUB= yes
GH_ACCOUNT= garak92
@@ -173,6 +171,13 @@ CARGO_CRATES= \
SUB_LIST= ETCDIR=${ETCDIR}
SUB_FILES= pkg-message
+.include <bsd.port.options.mk>
+
+.if ( ${OPSYS} == FreeBSD && ${OSVERSION} >= 1400092 && ${SSL_DEFAULT} == base ) || ${SSL_DEFAULT:Mopenssl3*}
+BROKEN_SSL= base openssl30 openssl31
+BROKEN_SSL_REASON= Fails to detect OpenSSL 3.0.0 and later
+.endif
+
post-patch:
${REINPLACE_CMD} -e 's|/etc/rearx/rearx.yaml|${PREFIX}/etc/rearx/rearx.yaml|' ${WRKSRC}/src/request.rs