1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-22 04:17:44 +00:00

- Added a warning for FBSD10

PR:		229640
Sponsored by:	iXsystems Inc.
This commit is contained in:
Martin Wilke 2018-07-09 15:11:41 +00:00
parent 197821ddbb
commit 3b7801e944
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=474267

View File

@ -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