pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/www/nginx Add nginx option to build the ngx_http_gzip_...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/fdfb0879ba9d
branches:  trunk
changeset: 652537:fdfb0879ba9d
user:      fhajny <fhajny%pkgsrc.org@localhost>
date:      Thu Jun 04 10:25:17 2015 +0000

description:
Add nginx option to build the ngx_http_gzip_static module.

diffstat:

 www/nginx/options.mk |  8 ++++++--
 1 files changed, 6 insertions(+), 2 deletions(-)

diffs (25 lines):

diff -r 4c6dfd3adb53 -r fdfb0879ba9d www/nginx/options.mk
--- a/www/nginx/options.mk      Thu Jun 04 09:43:53 2015 +0000
+++ b/www/nginx/options.mk      Thu Jun 04 10:25:17 2015 +0000
@@ -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 @@
 .include "../../lang/perl5/dirs.mk"
 .include "../../lang/perl5/buildlink3.mk"
 .endif
+
+.if !empty(PKG_OPTIONS:Mgzip)
+CONFIGURE_ARGS+=       --with-http_gzip_static_module
+.endif



Home | Main Index | Thread Index | Old Index