diff options
author | fhajny <fhajny@pkgsrc.org> | 2015-06-04 10:25:17 +0000 |
---|---|---|
committer | fhajny <fhajny@pkgsrc.org> | 2015-06-04 10:25:17 +0000 |
commit | 2bcd6575895a59549fbe25fd0e942eb969627405 (patch) | |
tree | 54a02cf3e22d58f3d9f63548533215606e9cf461 /www/nginx | |
parent | ab81ab59ee5c1346eeccc5822650711d81f21fa2 (diff) | |
download | pkgsrc-2bcd6575895a59549fbe25fd0e942eb969627405.tar.gz |
Add nginx option to build the ngx_http_gzip_static module.
Diffstat (limited to 'www/nginx')
-rw-r--r-- | www/nginx/options.mk | 8 |
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 |