PLIST_SUB+= NO_NIS=""
.endif
# python37 fail build ssl module on FreeBSD10, because X509_VERIFY_PARAM_set1_host check fails.
# python37 fails to build ssl module on FreeBSD10 with base SSL because X509_VERIFY_PARAM_set1_host check fails.
.if ${OPSYS} == FreeBSD && ${OSVERSION} < 1100000
.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=""