diff options
author | fhajny <fhajny> | 2015-06-04 10:25:17 +0000 |
---|---|---|
committer | fhajny <fhajny> | 2015-06-04 10:25:17 +0000 |
commit | 89fc84599a6973510db06eb37248c57379b3513d (patch) | |
tree | 54a02cf3e22d58f3d9f63548533215606e9cf461 /www | |
parent | 94a5a51bf3bb1d759c623e4ceea45a6a2364f2d4 (diff) | |
download | pkgsrc-89fc84599a6973510db06eb37248c57379b3513d.tar.gz |
Add nginx option to build the ngx_http_gzip_static module.
Diffstat (limited to 'www')
-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 |