aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMuhammad Moinur Rahman <bofh@FreeBSD.org>2023-06-29 22:38:53 +0000
committerMuhammad Moinur Rahman <bofh@FreeBSD.org>2023-06-30 00:51:03 +0000
commit23105bfd5591bed1c24b6a8524a0f274a5977a94 (patch)
tree0bd97e8d1357fc3f86fffc30cf6afb805c6940e4
parenteb00b7d1280b3b2326f2e342c9b203f7e0798174 (diff)
downloadports-23105bfd5591bed1c24b6a8524a0f274a5977a94.tar.gz
ports-23105bfd5591bed1c24b6a8524a0f274a5977a94.zip
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/Makefile2
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