freebsd-ports/www/mod_python35/files/patch-test_test.py
Olli Hauer 8bb65ab906 - update patch to reflect latest commit on github
(there is no new release sinc 2013 ...)
- do not alter httpd.conf, install a dedicated module file

PR:		204793
Submitted by:	SBB
2016-03-15 14:02:09 +00:00

15 lines
535 B
Python

--- test/test.py.orig 2013-11-12 03:21:34 UTC
+++ test/test.py
@@ -310,6 +310,12 @@ class HttpdCtrl:
modpath = LIBEXECDIR
s = Container(
+ IfModule("!prefork.c",
+ IfModule("!worker.c",
+ IfModule("!perchild.c",
+ IfModule("!mpm_winnt.c",
+ LoadModule("mpm_prefork_module %%APACHEMODDIR%%/mod_mpm_prefork.so"),
+ )))),
IfModule("prefork.c",
StartServers("3"),
MaxSpareServers("1")),