Index: www/nginx-devel/Makefile =================================================================== --- www/nginx-devel/Makefile +++ www/nginx-devel/Makefile @@ -3,6 +3,7 @@ PORTNAME= nginx PORTVERSION= 1.11.1 +PORTREVISION= 1 CATEGORIES= www MASTER_SITES= http://nginx.org/download/ MASTER_SITES+= LOCAL/osa @@ -431,6 +432,9 @@ .endif NGINX_OPENSSL= yes USE_HTTP_SSL= yes +.if ${OPSYS} == FreeBSD && ${OSVERSION} < 1100000 +WITH_OPENSSL_PORT= yes +.endif .endif .if ${PORT_OPTIONS:MECHO} @@ -998,6 +1002,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 @@ -1021,6 +1028,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 @@ -1113,9 +1123,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,6 +3,7 @@ PORTNAME= nginx PORTVERSION= 1.10.1 +PORTREVISION= 1 PORTEPOCH= 2 CATEGORIES= www MASTER_SITES= http://nginx.org/download/ @@ -430,6 +431,9 @@ .endif NGINX_OPENSSL= yes USE_HTTP_SSL= yes +.if ${OPSYS} == FreeBSD && ${OSVERSION} < 1100000 +WITH_OPENSSL_PORT= yes +.endif .endif .if ${PORT_OPTIONS:MECHO} @@ -995,6 +999,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 @@ -1018,6 +1025,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 @@ -1110,9 +1120,6 @@ .if defined(NGINX_OPENSSL) USE_OPENSSL= yes -.if ${OSVERSION} < 1100000 -WITH_OPENSSL_PORT=yes -.endif .endif pre-everything::