Index: www/nginx-devel/Makefile =================================================================== --- www/nginx-devel/Makefile +++ www/nginx-devel/Makefile @@ -3,7 +3,7 @@ PORTNAME= nginx PORTVERSION= 1.10.0 -PORTREVISION= 3 +PORTREVISION= 4 CATEGORIES= www MASTER_SITES= http://nginx.org/download/ MASTER_SITES+= LOCAL/osa @@ -426,6 +426,9 @@ .endif NGINX_OPENSSL= yes USE_HTTP_SSL= yes +.if ${OPSYS} == FreeBSD && ${OSVERSION} < 1100000 +WITH_OPENSSL_PORT= yes +.endif .endif .if ${PORT_OPTIONS:MECHO} @@ -991,6 +994,9 @@ .if ${PORT_OPTIONS:MHTTPV2} NGINX_OPENSSL= yes USE_HTTP_SSL= yes +.if ${OPSYS} == FreeBSD && ${OSVERSION} < 1100000 +WITH_OPENSSL_PORT= yes +.endif CONFIGURE_ARGS+=--with-http_v2_module .endif @@ -1014,6 +1020,9 @@ .if ${PORT_OPTIONS:MSTREAM_SSL} NGINX_OPENSSL= yes USE_HTTP_SSL= yes +.if ${OPSYS} == FreeBSD && ${OSVERSION} < 1100000 +WITH_OPENSSL_PORT= yes +.endif CONFIGURE_ARGS+=--with-stream_ssl_module .endif .endif @@ -1106,9 +1115,6 @@ .if defined(NGINX_OPENSSL) USE_OPENSSL= yes -.if ${OSVERSION} < 1100000 -WITH_OPENSSL_PORT=yes -.endif .endif pre-everything:: Index: www/nginx/Makefile =================================================================== --- www/nginx/Makefile +++ www/nginx/Makefile @@ -3,7 +3,7 @@ PORTNAME= nginx PORTVERSION= 1.10.0 -PORTREVISION= 3 +PORTREVISION= 4 PORTEPOCH= 2 CATEGORIES= www MASTER_SITES= http://nginx.org/download/ @@ -426,6 +426,9 @@ .endif NGINX_OPENSSL= yes USE_HTTP_SSL= yes +.if ${OPSYS} == FreeBSD && ${OSVERSION} < 1100000 +WITH_OPENSSL_PORT= yes +.endif .endif .if ${PORT_OPTIONS:MECHO} @@ -991,6 +994,9 @@ .if ${PORT_OPTIONS:MHTTPV2} NGINX_OPENSSL= yes USE_HTTP_SSL= yes +.if ${OPSYS} == FreeBSD && ${OSVERSION} < 1100000 +WITH_OPENSSL_PORT= yes +.endif CONFIGURE_ARGS+=--with-http_v2_module .endif @@ -1014,6 +1020,9 @@ .if ${PORT_OPTIONS:MSTREAM_SSL} NGINX_OPENSSL= yes USE_HTTP_SSL= yes +.if ${OPSYS} == FreeBSD && ${OSVERSION} < 1100000 +WITH_OPENSSL_PORT= yes +.endif CONFIGURE_ARGS+=--with-stream_ssl_module .endif .endif @@ -1106,9 +1115,6 @@ .if defined(NGINX_OPENSSL) USE_OPENSSL= yes -.if ${OSVERSION} < 1100000 -WITH_OPENSSL_PORT=yes -.endif .endif pre-everything::