ports/www/nginx/files/extra-patch-nginx_mogilefs_module-config
Jochen Neumeister e7c7e37f7c Merge r532982 from www/nginx-devel:
Convert another 3 third-party modules to dynamic:

o) http_json_status
o) http_mogilefs
o) http_notice

Sponsored by:	Netzkommune GmbH
2020-06-06 09:13:40 +00:00

13 lines
488 B
Text

--- ../nginx_mogilefs_module-1.0.4/config.orig 2020-04-25 17:51:45.544308000 -0400
+++ ../nginx_mogilefs_module-1.0.4/config 2020-04-25 17:54:01.862958000 -0400
@@ -1,3 +1,8 @@
ngx_addon_name=ngx_http_mogilefs_module
-HTTP_MODULES="$HTTP_MODULES ngx_http_mogilefs_module"
-NGX_ADDON_SRCS="$NGX_ADDON_SRCS $ngx_addon_dir/ngx_http_mogilefs_module.c"
+
+ngx_module_name="$ngx_addon_name"
+ngx_module_type=HTTP
+
+ngx_module_srcs="$ngx_addon_dir/ngx_http_mogilefs_module.c"
+
+. auto/module