diff options
| author | Sergey A. Osokin <osa@FreeBSD.org> | 2013-12-19 17:31:04 +0000 |
|---|---|---|
| committer | Sergey A. Osokin <osa@FreeBSD.org> | 2013-12-19 17:31:04 +0000 |
| commit | a0324ba1ec5b6f83b4dc89de1c3e1d15b0ce23bc (patch) | |
| tree | 7231e8f237da20ae2bf36bf4be1937028a2e64ed /www/nginx | |
| parent | Fix build with clang (diff) | |
Be more correct with openssl on modern FreeBSD10.
Do not bump PORTREVISION cause SPDY module disable by default.
Diffstat (limited to 'www/nginx')
| -rw-r--r-- | www/nginx/Makefile | 9 |
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:: |
