summaryrefslogtreecommitdiff
path: root/lang/python37
diff options
context:
space:
mode:
Diffstat (limited to 'lang/python37')
-rw-r--r--lang/python37/Makefile17
-rw-r--r--lang/python37/pkg-plist2
2 files changed, 1 insertions, 18 deletions
diff --git a/lang/python37/Makefile b/lang/python37/Makefile
index 6f4edb9816fb..fe87ffb87a4c 100644
--- a/lang/python37/Makefile
+++ b/lang/python37/Makefile
@@ -114,23 +114,6 @@ DISABLED_EXTENSIONS+= nis
PLIST_SUB+= NO_NIS=""
.endif
-# python37 fails to build ssl module on FreeBSD10 with base SSL because X509_VERIFY_PARAM_set1_host check fails.
-.if ${OPSYS} == FreeBSD && ${OSVERSION} < 1100000 && ${SSL_DEFAULT} == base
-PLIST_SUB+= NO_SSL="@comment "
-WARNING+= "No SSL support for FreeBSD ${OSREL} with base SSL! OpenSSL must be greater than/equal to 1.0.2"
-.else
-PLIST_SUB+= NO_SSL=""
-.endif
-
-post-patch:
-# readline shared library is present on base before FreeBSD 11 - r268461
-# force setup.py ignore base and use readline from ports
-.if ${OPSYS} == FreeBSD && ${OSVERSION} < 1100000
- @${REINPLACE_CMD} -e \
- "s|lib_dirs,\ \'readline\'|[\'${LOCALBASE}/lib\',\ \'.\'],\ \'readline\'|" \
- ${WRKSRC}/setup.py
-.endif
-
post-install:
.if ! ${PORT_OPTIONS:MDEBUG}
${RM} ${STAGEDIR}${PREFIX}/lib/libpython3.so # Upstream Issue: https://bugs.python.org/issue17975
diff --git a/lang/python37/pkg-plist b/lang/python37/pkg-plist
index cc2457f8c206..f8744da5baa7 100644
--- a/lang/python37/pkg-plist
+++ b/lang/python37/pkg-plist
@@ -2784,7 +2784,7 @@ lib/python%%XYDOT%%/lib-dynload/_sha256.so
lib/python%%XYDOT%%/lib-dynload/_sha3.so
lib/python%%XYDOT%%/lib-dynload/_sha512.so
lib/python%%XYDOT%%/lib-dynload/_socket.so
-%%NO_SSL%%lib/python%%XYDOT%%/lib-dynload/_ssl.so
+lib/python%%XYDOT%%/lib-dynload/_ssl.so
lib/python%%XYDOT%%/lib-dynload/_struct.so
lib/python%%XYDOT%%/lib-dynload/_testbuffer.so
lib/python%%XYDOT%%/lib-dynload/_testcapi.so