File: 02_makefile.patch

package info (click to toggle)
libapache2-mod-python 3.5.0.1-3
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 1,864 kB
  • sloc: python: 7,471; ansic: 7,025; makefile: 296; lex: 246; sh: 212
file content (22 lines) | stat: -rw-r--r-- 716 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
From: Peter Hawkins <peterh@debian.org>
Date: Thu, 8 Oct 2015 09:31:53 -0700
Subject: Patch makefile to issue correct setup.py call.

Patch-Name: 02_makefile.patch
---
 dist/Makefile.in | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dist/Makefile.in b/dist/Makefile.in
index d798adf..325b374 100644
--- 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: