File: 10-python.patch

package info (click to toggle)
brltty 5.6-10
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, buster, sid
  • size: 25,116 kB
  • sloc: ansic: 117,871; sh: 6,590; java: 4,785; xml: 3,451; makefile: 1,973; tcl: 1,499; awk: 611; ml: 293; python: 250; lisp: 52
file content (19 lines) | stat: -rw-r--r-- 697 bytes parent folder | download | duplicates (9)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
Description: adjust Makefile to build Python bindings correctly
 Include Python make fules and add build options.
---
This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
--- a/Bindings/Python/Makefile.in
+++ b/Bindings/Python/Makefile.in
@@ -57,10 +57,12 @@ doc: $(PYTHON_API)
 
 INSTALLED_FILES = installed-files
 
+-include /usr/share/python/python.mk
 install: all
 	set -- --quiet install --skip-build --record "$(INSTALLED_FILES)"; \
 	[ -z "$(PYTHON_DESTDIR)" ] || set -- "$${@}" --root "$(PYTHON_DESTDIR)"; \
 	[ -z "$(PYTHON_PREFIX)" ] || set -- "$${@}" --prefix "$(PYTHON_PREFIX)"; \
+	set -- "$${@}" $(py_setup_install_args); \
 	$(PYTHON) ./setup.py "$${@}"
 
 uninstall: