diff options
author | Wolfram Sang <w.sang@pengutronix.de> | 2009-06-10 10:57:52 +0000 |
---|---|---|
committer | Wolfram Sang <w.sang@pengutronix.de> | 2009-06-10 10:57:52 +0000 |
commit | 0c5c03d095485f7521d96cd44314f9a0ee826232 (patch) | |
tree | 1df111a8270ba417537931cc6e1a4952b3000ee9 /patches/mod_python-3.3.1/fix-python-module-installation.diff | |
parent | d3ee0775cadf505c4bae7b1df483d73bf8294815 (diff) | |
download | ptxdist-0c5c03d095485f7521d96cd44314f9a0ee826232.tar.gz ptxdist-0c5c03d095485f7521d96cd44314f9a0ee826232.tar.xz |
* patches: remove 'generic'-layer
git-svn-id: https://svn.pengutronix.de/svn/ptxdist/trunks/ptxdist-trunk@10711 33e552b5-05e3-0310-8538-816dae2090ed
Diffstat (limited to 'patches/mod_python-3.3.1/fix-python-module-installation.diff')
-rw-r--r-- | patches/mod_python-3.3.1/fix-python-module-installation.diff | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/patches/mod_python-3.3.1/fix-python-module-installation.diff b/patches/mod_python-3.3.1/fix-python-module-installation.diff new file mode 100644 index 000000000..1d602cd42 --- /dev/null +++ b/patches/mod_python-3.3.1/fix-python-module-installation.diff @@ -0,0 +1,24 @@ +Subject: install python modules into prefix +From: Marc Kleine-Budde <mkl@pengutronix.de> + +Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de> +--- + dist/Makefile.in | 4 ++-- + 1 file changed, 2 insertions(+), 2 deletions(-) + +Index: mod_python-3.3.1/dist/Makefile.in +=================================================================== +--- mod_python-3.3.1.orig/dist/Makefile.in ++++ mod_python-3.3.1/dist/Makefile.in +@@ -34,9 +34,9 @@ install: install_py_lib + 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 ; \ ++ $(PYTHON_BIN) setup.py install --optimize 2 --force --prefix=@prefix@ ; \ + else \ +- $(PYTHON_BIN) setup.py install --optimize 2 --force --root $(DESTDIR) ; \ ++ $(PYTHON_BIN) setup.py install --optimize 2 --force --prefix=@prefix@ --root $(DESTDIR) ; \ + fi + + mod_python.so: |