diff options
author | Muhammad Moinur Rahman <bofh@FreeBSD.org> | 2023-06-30 00:38:53 +0200 |
---|---|---|
committer | Muhammad Moinur Rahman <bofh@FreeBSD.org> | 2023-06-30 02:51:03 +0200 |
commit | 23105bfd5591bed1c24b6a8524a0f274a5977a94 (patch) | |
tree | 0bd97e8d1357fc3f86fffc30cf6afb805c6940e4 | |
parent | lang/php80: Mark IGNORE_SSL for 14 (diff) |
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
-rw-r--r-- | lang/python27/Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
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 |