git: 976c48f122eb - main - devel/tcltls: fix build with newer OpenSSL versions
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Fri, 26 Sep 2025 19:07:03 UTC
The branch main has been updated by gahr:
URL: https://cgit.FreeBSD.org/ports/commit/?id=976c48f122eb73ebed21afe4f93bfb2a1d22ceb6
commit 976c48f122eb73ebed21afe4f93bfb2a1d22ceb6
Author: Pietro Cerutti <gahr@FreeBSD.org>
AuthorDate: 2025-09-26 19:04:52 +0000
Commit: Pietro Cerutti <gahr@FreeBSD.org>
CommitDate: 2025-09-26 19:07:01 +0000
devel/tcltls: fix build with newer OpenSSL versions
PR: 289706
Submitted by: mi
---
devel/tcltls/Makefile | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/devel/tcltls/Makefile b/devel/tcltls/Makefile
index 6e79370fd9a8..3cba98207853 100644
--- a/devel/tcltls/Makefile
+++ b/devel/tcltls/Makefile
@@ -47,7 +47,8 @@ post-configure:
${OPENSSLBASE}/bin/openssl dhparam -text 2048 | \
${OPENSSLBASE}/bin/openssl asn1parse | \
${SED} -E \
- -e '/^ .*(0|5):d=/d' \
+ -e '/hl=4 l= 257 prim/bp' \
+ -e d -e :p \
-e 's/ 4:d=1.*INTEGER *://' \
-e 's/([0-9A-H]{2})/0x\1, /g' \
-e 'w${WRKSRC}/generateddh.txt'