File: 02_makefile.patch

package info (click to toggle)
libapache2-mod-python 3.3.1-11
  • links: PTS, VCS
  • area: main
  • in suites: buster, jessie, jessie-kfreebsd, stretch
  • size: 3,212 kB
  • ctags: 2,284
  • sloc: python: 7,278; ansic: 6,556; lex: 246; makefile: 234; sh: 153
file content (14 lines) | stat: -rw-r--r-- 499 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
Description: Patch makefile to issue correct setup.py call.
Author: Peter Hawkins <peterh@debian.org>

--- a/dist/Makefile.in
+++ b/dist/Makefile.in
@@ -36,7 +36,7 @@ install_py_lib: mod_python src
 	if test -z "$(DESTDIR)" ; then \
 		$(PYTHON_BIN) setup.py install --optimize 2 --force ; \
 	else \
-		$(PYTHON_BIN) setup.py install --optimize 2 --force --root $(DESTDIR) ; \
+		$(PYTHON_BIN) setup.py install --install-layout=deb --force --root $(DESTDIR) --no-compile ; \
 	fi
 
 mod_python.so: