summaryrefslogtreecommitdiff
path: root/www/mod_python/files
diff options
context:
space:
mode:
Diffstat (limited to 'www/mod_python/files')
-rw-r--r--www/mod_python/files/patch-Makefile.in18
-rw-r--r--www/mod_python/files/patch-configure11
2 files changed, 29 insertions, 0 deletions
diff --git a/www/mod_python/files/patch-Makefile.in b/www/mod_python/files/patch-Makefile.in
new file mode 100644
index 000000000000..de6da8520979
--- /dev/null
+++ b/www/mod_python/files/patch-Makefile.in
@@ -0,0 +1,18 @@
+--- Makefile.in.orig Wed Nov 15 05:33:51 2000
++++ Makefile.in Wed Nov 15 05:40:52 2000
+@@ -90,13 +90,10 @@
+ @echo
+ @echo "Performing DSO installation."
+ @echo
+- $(INSTALL) src/mod_python.so $(LIBEXECDIR)
++ /usr/local/sbin/apxs -i -a src/mod_python.so
+ @$(MAKE) install_py_lib
+ @echo
+- @echo "Now don't forget to edit your main config and add"
+- @echo " LoadModule python_module $(LIBEXECDIR)/mod_python.so"
+- @echo "and if your configuration uses ClearModuleList, then also"
+- @echo " AddModule mod_python.c"
++ @echo " ## Apache has to be restarted."
+ @echo
+
+
diff --git a/www/mod_python/files/patch-configure b/www/mod_python/files/patch-configure
new file mode 100644
index 000000000000..67f2ce25aee9
--- /dev/null
+++ b/www/mod_python/files/patch-configure
@@ -0,0 +1,11 @@
+--- configure.orig Wed Nov 15 05:33:42 2000
++++ configure Wed Nov 15 05:33:58 2000
+@@ -1312,7 +1312,7 @@
+ # check if python is compiled with threads
+ echo $ac_n "checking whether Python is compiled with thread support""... $ac_c" 1>&6
+ echo "configure:1315: checking whether Python is compiled with thread support" >&5
+-PyTHREADS=`$PYTHON_BIN -c "import sys; print \"thread\" in sys.builtin_module_names"`
++PyTHREADS="0"
+ if test "$PyTHREADS" = "1"; then
+ echo "$ac_t""yes" 1>&6
+ echo