summaryrefslogtreecommitdiff
path: root/www/nginx
diff options
context:
space:
mode:
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::