1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-19 19:59:43 +00:00

- Remove always-true/false conditions after FreeBSD 9, 10.1, 10.2 EOL

- Always check NGINX_OPENSSL after it is defined

Approved by:	portmgr blanket
This commit is contained in:
Dmitry Marakasov 2017-01-09 10:03:47 +00:00
parent 56e0d1d384
commit 43dcdd60b7
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=430935

View File

@ -730,20 +730,15 @@ CONFIGURE_ARGS+=--without-http_rewrite_module \
--without-pcre
.endif
.if defined(NGINX_OPENSSL)
USE_OPENSSL= yes
.if ${PORT_OPTIONS:MSPDY}
.if ${OPSYS} == FreeBSD && ${OSVERSION} < 1000028
WITH_OPENSSL_PORT= yes
.endif
.endif
.endif
.if defined(WITH_HTTP_SSL)
NGINX_OPENSSL= yes
CONFIGURE_ARGS+=--with-http_ssl_module
.endif
.if defined(NGINX_OPENSSL)
USES+= ssl
.endif
.if ${PORT_OPTIONS:MHTTP_SSL}
WITH_HTTP_SSL= yes
.endif