aboutsummaryrefslogtreecommitdiffstats
path: root/www/nginx
diff options
context:
space:
mode:
authorosa <osa@FreeBSD.org>2009-03-26 22:12:29 +0800
committerosa <osa@FreeBSD.org>2009-03-26 22:12:29 +0800
commit4ed24d959fc09765441b51d53a2e8d9cda74314c (patch)
treeb783d7594369efe84b40c4bb632aca8abc48fdc4 /www/nginx
parent0114b3cd1de3b90a284c68e1e110350f209ca9d0 (diff)
downloadfreebsd-ports-gnome-4ed24d959fc09765441b51d53a2e8d9cda74314c.tar.gz
freebsd-ports-gnome-4ed24d959fc09765441b51d53a2e8d9cda74314c.tar.zst
freebsd-ports-gnome-4ed24d959fc09765441b51d53a2e8d9cda74314c.zip
Merge latest changes from www/nginx-devel:
o add MAKE_JOBS_SAFE o make modules fetchable by fix MASTER_SITES o add support for http_gzip_static module [*] Do not bump PORTREVISION. [*] Patch from: MZ aka zuborg at advancedhosters dot com
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 05f0eb64597f..31d6e834b76a 100644
--- a/www/nginx/Makefile
+++ b/www/nginx/Makefile
@@ -23,6 +23,7 @@ OPTIONS= DEBUG "Enable nginx debugging" off \
HTTP_ADDITION_MODULE "Enable http_addition module" off \
HTTP_DAV_MODULE "Enable http_webdav module" off \
HTTP_FLV_MODULE "Enable http_flv module" off \
+ HTTP_GZIP_STATIC_MODULE "Enable http_gzip_static module" off \
HTTP_PERL_MODULE "Enable http_perl module" off \
HTTP_REALIP_MODULE "Enable http_realip module" off \
HTTP_REWRITE_MODULE "Enable http_rewrite module" on \
@@ -36,6 +37,8 @@ OPTIONS= DEBUG "Enable nginx debugging" off \
MAIL_SSL_MODULE "Enable mail_ssl module" off \
WWW "Enable html sample files" on
+MAKE_JOBS_SAFE= yes
+
.include <bsd.port.pre.mk>
NGINX_VARDIR?= /var
@@ -80,7 +83,7 @@ CONFIGURE_ARGS+=--http-client-body-temp-path=${NGINX_TMPDIR}/client_body_temp \
.if defined(WITH_HTTP_ACCESSKEY_MODULE)
NGINX_ACCESSKEY_MODULE_VERSION= 2.0.3
-MASTER_SITES+= ${MASTER_SITE_LOCAL}:accesskey
+MASTER_SITES+= ${MASTER_SITE_LOCAL:S/$/:accesskey/}
MASTER_SITE_SUBDIR= osa/:accesskey
DISTFILES+= nginx-accesskey-${NGINX_ACCESSKEY_MODULE_VERSION}.tar.gz:accesskey
CONFIGURE_ARGS+=--add-module=${WRKDIR}/nginx-accesskey-${NGINX_ACCESSKEY_MODULE_VERSION}
@@ -98,6 +101,10 @@ CONFIGURE_ARGS+=--with-http_dav_module
CONFIGURE_ARGS+=--with-http_flv_module
.endif
+.if defined(WITH_HTTP_GZIP_STATIC_MODULE)
+CONFIGURE_ARGS+=--with-http_gzip_static_module
+.endif
+
.if defined(WITH_HTTP_PERL_MODULE)
CATEGORIES+= perl5
CONFIGURE_ARGS+=--with-http_perl_module