Date: Fri, 30 Jun 2023 00:53:44 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: 23105bfd5591 - main - lang/python27: Fix build with OpenSSL 3 Message-ID: <202306300053.35U0riXs029107@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=23105bfd5591bed1c24b6a8524a0f274a5977a94 commit 23105bfd5591bed1c24b6a8524a0f274a5977a94 Author: Muhammad Moinur Rahman <bofh@FreeBSD.org> AuthorDate: 2023-06-29 22:38:53 +0000 Commit: Muhammad Moinur Rahman <bofh@FreeBSD.org> CommitDate: 2023-06-30 00:51:03 +0000 lang/python27: Fix build with OpenSSL 3 This was fixed in an earlier commit but an arbitrary OSVERSION was used to check the side effects in exp-run. As there is a proper OSVERSION now this patch fixes the OSVERSION. Approved by: portmgr (blanket) Sponsored by: The FreeBSD Foundation --- lang/python27/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lang/python27/Makefile b/lang/python27/Makefile index fc63dbf9e6ca..c63393dbf1ae 100644 --- a/lang/python27/Makefile +++ b/lang/python27/Makefile @@ -128,7 +128,7 @@ post-patch: # openssl/opensslv.h so setup.py just detects the string as 00000000 # However care should be taken for the OSVERSION. If OpenSSL 3.0.9 # lands later the OSVERSION string should be fixed accordingly -.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1400089 && (${SSL_DEFAULT} == base || ${SSL_DEFAULT:Mopenssl3*} ) +.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1400092 && (${SSL_DEFAULT} == base || ${SSL_DEFAULT:Mopenssl3*} ) @${REINPLACE_CMD} -e 's|00907000|00000000|' \ ${WRKSRC}/setup.py .endif
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202306300053.35U0riXs029107>