mirror of https://git.FreeBSD.org/ports.git
lang/python27: Fix build with 'DEFAULT_VERSIONS=ssl=openssl'
Reported by: Odhiambo Washington
Approved by: portmgr blanket (just fix it)
MFH: 2024Q2
(cherry picked from commit 69ce5e29a5
)
This commit is contained in:
parent
93f305d488
commit
35b4d1f670
|
@ -121,7 +121,8 @@ 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} >= 1400092 && (${SSL_DEFAULT} == base || ${SSL_DEFAULT:Mopenssl3*} )
|
||||
.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1400092 && (${SSL_DEFAULT} == base || \
|
||||
${SSL_DEFAULT} == openssl || ${SSL_DEFAULT:Mopenssl3*} )
|
||||
@${REINPLACE_CMD} -e 's|00907000|00000000|' \
|
||||
${WRKSRC}/setup.py
|
||||
.endif
|
||||
|
|
Loading…
Reference in New Issue