summaryrefslogtreecommitdiff
path: root/www/nginx
diff options
context:
space:
mode:
authorfhajny <fhajny@pkgsrc.org>2015-06-04 10:25:17 +0000
committerfhajny <fhajny@pkgsrc.org>2015-06-04 10:25:17 +0000
commit13bb593874e841ad27da35b12f20ae0872952f77 (patch)
tree54a02cf3e22d58f3d9f63548533215606e9cf461 /www/nginx
parentcde59ed744a6f214b5908d70fe474015aac05152 (diff)
downloadpkgsrc-13bb593874e841ad27da35b12f20ae0872952f77.tar.gz
Add nginx option to build the ngx_http_gzip_static module.
Diffstat (limited to 'www/nginx')
-rw-r--r--www/nginx/options.mk8
1 files changed, 6 insertions, 2 deletions
diff --git a/www/nginx/options.mk b/www/nginx/options.mk
index 02d6f590a7f..94e75d38bca 100644
--- a/www/nginx/options.mk
+++ b/www/nginx/options.mk
@@ -1,11 +1,11 @@
-# $NetBSD: options.mk,v 1.30 2014/05/30 08:14:07 fhajny Exp $
+# $NetBSD: options.mk,v 1.31 2015/06/04 10:25:17 fhajny Exp $
PKG_OPTIONS_VAR= PKG_OPTIONS.nginx
PKG_SUPPORTED_OPTIONS= dav flv gtools inet6 luajit mail-proxy memcache naxsi \
pcre push realip ssl sub uwsgi image-filter upload \
debug status nginx-autodetect-cflags spdy echo \
set-misc headers-more array-var encrypted-session \
- form-input perl
+ form-input perl gzip
PKG_SUGGESTED_OPTIONS= inet6 pcre ssl
PLIST_VARS+= naxsi perl uwsgi
@@ -213,3 +213,7 @@ PLIST.perl= yes
.include "../../lang/perl5/dirs.mk"
.include "../../lang/perl5/buildlink3.mk"
.endif
+
+.if !empty(PKG_OPTIONS:Mgzip)
+CONFIGURE_ARGS+= --with-http_gzip_static_module
+.endif