aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMuhammad Moinur Rahman <bofh@FreeBSD.org>2023-08-05 14:06:23 +0000
committerMuhammad Moinur Rahman <bofh@FreeBSD.org>2023-08-05 14:46:35 +0000
commit247ad518039d792108091ea98db80035b4636c33 (patch)
tree12c57fb2a570d906f492bcbf1a69f9b21b1bc161
parenta2c48babbb8e61650609e6a63a0a09c89ba1b745 (diff)
downloadports-247ad518039d792108091ea98db80035b4636c33.tar.gz
ports-247ad518039d792108091ea98db80035b4636c33.zip
www/squid-devel: Mark BROKEN_SSL for 14
Fails to build on OpenSSL 3 and newr. Approved by: portmgr (blanket) Sponsored by: The FreeBSD Foundation
-rw-r--r--www/squid-devel/Makefile7
1 files changed, 5 insertions, 2 deletions
diff --git a/www/squid-devel/Makefile b/www/squid-devel/Makefile
index ee9f1b3989d6..f281ded5256b 100644
--- a/www/squid-devel/Makefile
+++ b/www/squid-devel/Makefile
@@ -30,8 +30,6 @@ DEPRECATED= Not used anymore to create rc-state releases
EXPIRATION_DATE= 2023-09-01
USES= compiler:c++11-lib cpe perl5 shebangfix tar:xz
-BROKEN_SSL= openssl30 openssl31
-BROKEN_SSL_REASON= no matching function for call to 'CRYPTO_get_ex_new_index'
CONFLICTS= squid3-* squid-4.*
CPE_VENDOR= squid-cache
SHEBANG_FILES= scripts/*.pl contrib/*.pl tools/*.pl
@@ -291,6 +289,11 @@ WITH_DEBUG?= yes
# Finally, add additional user specified configuration options:
CONFIGURE_ARGS+= ${SQUID_CONFIGURE_ARGS}
+.if ( ${OPSYS} == FreeBSD && ${OSVERSION} >= 1400092 && ${SSL_DEFAULT} == base ) || ${SSL_DEFAULT:Mopenssl3*}
+BROKEN_SSL= base openssl30 openssl31
+BROKEN_SSL_REASON= no matching function for call to 'CRYPTO_get_ex_new_index'
+.endif
+
post-patch:
@(cd ${WRKSRC} && ${REINPLACE_CMD} \
-e 's|\.conf\.default|.conf.sample|' \