ports/www/nginx/files/extra-patch-masterzen-nginx-upload-progress-module
Jochen Neumeister 796275081d www/nginx: Fix building of uploadprogress module
PR:		225473
Reported by:	Matthias Fechner <idefix@fechner.net>
Approved by:	tcberner (mentor)
Differential Revision:	https://reviews.freebsd.org/D14069
2018-01-27 12:57:23 +00:00

9 lines
472 B
Text

--- work/nginx-upload-progress-module-0.9.2/config.orig 2018-01-27 09:47:26.335521000 +0100
+++ work/nginx-upload-progress-module-0.9.2/config 2018-01-27 09:47:53.763756000 +0100
@@ -1,5 +1,5 @@
ngx_addon_name=ngx_http_uploadprogress_module
-if test -n "$ngx_module_link"; then
+if [ $ngx_module_link = DYNAMIC ] ; then
ngx_module_type=FILTER
ngx_module_name=ngx_http_uploadprogress_module
ngx_module_srcs="$ngx_addon_dir/ngx_http_uploadprogress_module.c"