Package: brltty / 5.4-7+deb9u1

10-python.patch Patch series | download
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: