aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergey A. Osokin <osa@FreeBSD.org>2009-03-26 14:12:29 +0000
committerSergey A. Osokin <osa@FreeBSD.org>2009-03-26 14:12:29 +0000
commit9006f039ed6d4d922c01507d06397d552d35a44e (patch)
treedc60c4278111a01ade9635f2a88a2e50b1dffefd
parent0c6fe9fabb61b8a5e574f03bd466107dcb48311f (diff)
downloadports-9006f039ed6d4d922c01507d06397d552d35a44e.tar.gz
ports-9006f039ed6d4d922c01507d06397d552d35a44e.zip
Notes
-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