aboutsummaryrefslogtreecommitdiff
path: root/www/nginx
diff options
context:
space:
mode:
authorSergey A. Osokin <osa@FreeBSD.org>2013-12-19 17:31:04 +0000
committerSergey A. Osokin <osa@FreeBSD.org>2013-12-19 17:31:04 +0000
commita0324ba1ec5b6f83b4dc89de1c3e1d15b0ce23bc (patch)
tree7231e8f237da20ae2bf36bf4be1937028a2e64ed /www/nginx
parentd527536e8f86a2b5c0b53a6067db8836b049e3e6 (diff)
downloadports-a0324ba1ec5b6f83b4dc89de1c3e1d15b0ce23bc.tar.gz
ports-a0324ba1ec5b6f83b4dc89de1c3e1d15b0ce23bc.zip
Notes
Diffstat (limited to 'www/nginx')
-rw-r--r--www/nginx/Makefile9
1 files changed, 8 insertions, 1 deletions
diff --git a/www/nginx/Makefile b/www/nginx/Makefile
index fca3d8d8faf5..7860cbb63e32 100644
--- a/www/nginx/Makefile
+++ b/www/nginx/Makefile
@@ -792,7 +792,7 @@ CONFIGURE_ARGS+=--add-module=${WRKDIR}/agentzh-xss-nginx-module-${GIT_XSS_VERSIO
.endif
.if ${PORT_OPTIONS:MSPDY}
-USE_OPENSSL_PORT= yes
+NGINX_OPENSSL= yes
USE_HTTP_SSL= yes
CONFIGURE_ARGS+=--with-http_spdy_module
.endif
@@ -866,6 +866,13 @@ GROUPS?=${WWWGRP}
.if defined(NGINX_OPENSSL)
USE_OPENSSL= yes
+.if ${PORT_OPTIONS:MSPDY}
+.if ${OSVERSION} < 1000028
+WITH_OPENSSL_PORT= yes
+.else
+WITH_OPENSSL_BASE= yes
+.endif
+.endif
.endif
pre-everything::