aboutsummaryrefslogtreecommitdiffstats
path: root/lang/python37
diff options
context:
space:
mode:
authorMartin Wilke <miwi@FreeBSD.org>2018-07-09 23:11:41 +0800
committerMartin Wilke <miwi@FreeBSD.org>2018-07-09 23:11:41 +0800
commit3b7801e94476fb012a0244f3adbb5353e01997ac (patch)
treec436b3f02be68e73880c718d94f43b15ada33729 /lang/python37
parent197821ddbbcc8869d5af256c2f58606d5de3b2dd (diff)
downloadfreebsd-ports-gnome-3b7801e94476fb012a0244f3adbb5353e01997ac.tar.gz
freebsd-ports-gnome-3b7801e94476fb012a0244f3adbb5353e01997ac.tar.zst
freebsd-ports-gnome-3b7801e94476fb012a0244f3adbb5353e01997ac.zip
- Added a warning for FBSD10
PR: 229640 Sponsored by: iXsystems Inc.
Diffstat (limited to 'lang/python37')
-rw-r--r--lang/python37/Makefile5
1 files changed, 3 insertions, 2 deletions
diff --git a/lang/python37/Makefile b/lang/python37/Makefile
index 753a85c59ed6..3fda25133960 100644
--- a/lang/python37/Makefile
+++ b/lang/python37/Makefile
@@ -118,9 +118,10 @@ DISABLED_EXTENSIONS+= nis
PLIST_SUB+= NO_NIS=""
.endif
-# python37 fail build ssl module on FreeBSD10, because X509_VERIFY_PARAM_set1_host check fails.
-.if ${OPSYS} == FreeBSD && ${OSVERSION} < 1100000
+# 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