summaryrefslogtreecommitdiff
path: root/www
diff options
context:
space:
mode:
authorjperkin <jperkin@pkgsrc.org>2020-02-12 11:32:53 +0000
committerjperkin <jperkin@pkgsrc.org>2020-02-12 11:32:53 +0000
commit1ba588f4285ef25ed604843faa063d8633cf597d (patch)
tree6b0a2359cafc1ca706204dfd5016ae3885192287 /www
parent9c131630dd1085a2c741524d606c06125b01ae58 (diff)
downloadpkgsrc-1ba588f4285ef25ed604843faa063d8633cf597d.tar.gz
nginx: Add support for the slice module.
Patch provided by Brian Ewell in joyent/pkgsrc#240.
Diffstat (limited to 'www')
-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 5376a11a14a..371aedd0008 100644
--- a/www/nginx/options.mk
+++ b/www/nginx/options.mk
@@ -1,9 +1,9 @@
-# $NetBSD: options.mk,v 1.52 2019/11/04 22:09:57 rillig Exp $
+# $NetBSD: options.mk,v 1.53 2020/02/12 11:32:53 jperkin 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 \
- debug status nginx-autodetect-cflags echo \
+ debug slice status nginx-autodetect-cflags echo \
set-misc headers-more array-var encrypted-session \
form-input perl gzip http2 auth-request secure-link rtmp
PKG_OPTIONS_LEGACY_OPTS+= v2:http2
@@ -197,6 +197,10 @@ DISTFILES+= ${PUSH_DISTFILE}
CONFIGURE_ARGS+= --with-http_image_filter_module
.endif
+.if !empty(PKG_OPTIONS:Mslice)
+CONFIGURE_ARGS+= --with-http_slice_module
+.endif
+
.if !empty(PKG_OPTIONS:Mstatus)
CONFIGURE_ARGS+= --with-http_stub_status_module
.endif