mirror of
https://git.FreeBSD.org/ports.git
synced 2024-10-18 19:49:40 +00:00
security/py-cryptography: fix build on FreeBSD 11
The LibreSSL 3.3.2+ patch does not and was never intended to apply
with older py-cryptography 2.9.2 that we offer for FreeBSD 11 using
base OpenSSL. For now, make the LibreSSL 3.3.2+ patch conditional
on SSL_DEFAULT=libressl* until FreeBSD 11 goes EOL.
Reported by: dvl
Fixes: 6f05c9c07c
security/py-cryptography: fix build with LibreSSL 3.3.2+
Pointy hat to: vishwin
Approved by: koobs (maintainer, implicit), fluffly (mentor, implicit)
PR: 255241
This commit is contained in:
parent
bbca650855
commit
58a2c0b4b7
@ -54,6 +54,12 @@ EXTRA_PATCHES= ${PATCHDIR}/openssl102u
|
||||
. endif
|
||||
.endif
|
||||
|
||||
# Apply LibreSSL upstream patch that conflicts with above patch for 2.9.2
|
||||
# XXX convert back to unconditional when FreeBSD 11 goes EOL
|
||||
.if ${SSL_DEFAULT:Mlibressl*}
|
||||
EXTRA_PATCHES= ${PATCHDIR}/extra-patch-Fix-build-with-LibreSSL-3.3.2-5988
|
||||
.endif
|
||||
|
||||
.if ${CHOSEN_COMPILER_TYPE} == gcc && ${COMPILER_VERSION} <= 42
|
||||
post-patch:
|
||||
@${REINPLACE_CMD} -e 's|"-Wno-error=sign-conversion"||' \
|
||||
|
Loading…
Reference in New Issue
Block a user