From 3f240d52903aa529ef1cf2c789f6c7453799c402 Mon Sep 17 00:00:00 2001 From: Brian Ewell Date: Wed, 12 Feb 2020 02:05:55 +0000 Subject: [PATCH] Add slice option (--with-http_slice_module). --- www/nginx/options.mk | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/www/nginx/options.mk b/www/nginx/options.mk index 5376a11a14ae9..929260a815cbe 100644 --- a/www/nginx/options.mk +++ b/www/nginx/options.mk @@ -3,7 +3,7 @@ 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