* Added mod_python.
svn path=/nixpkgs/trunk/; revision=4549
This commit is contained in:
20
pkgs/servers/http/apache-modules/mod_python/install.patch
Normal file
20
pkgs/servers/http/apache-modules/mod_python/install.patch
Normal file
@@ -0,0 +1,20 @@
|
||||
diff -rc mod_python-3.1.4-orig/dist/Makefile.in mod_python-3.1.4/dist/Makefile.in
|
||||
*** mod_python-3.1.4-orig/dist/Makefile.in 2005-01-29 22:25:28.000000000 +0100
|
||||
--- mod_python-3.1.4/dist/Makefile.in 2006-01-15 12:07:40.000000000 +0100
|
||||
***************
|
||||
*** 34,40 ****
|
||||
install_py_lib: mod_python src
|
||||
@cd src; $(MAKE) psp_parser.c
|
||||
if test -z "$(DESTDIR)" ; then \
|
||||
! $(PYTHON_BIN) setup.py install --optimize 2 --force ; \
|
||||
else \
|
||||
$(PYTHON_BIN) setup.py install --optimize 2 --force --root $(DESTDIR) ; \
|
||||
fi
|
||||
--- 34,40 ----
|
||||
install_py_lib: mod_python src
|
||||
@cd src; $(MAKE) psp_parser.c
|
||||
if test -z "$(DESTDIR)" ; then \
|
||||
! $(PYTHON_BIN) setup.py install --optimize 2 --force --prefix $(out) ; \
|
||||
else \
|
||||
$(PYTHON_BIN) setup.py install --optimize 2 --force --root $(DESTDIR) ; \
|
||||
fi
|
||||
Reference in New Issue
Block a user