summaryrefslogtreecommitdiffstats
path: root/debian/patches/0018-Fix-python3-install.patch
blob: de1c33eeb23936b36aef7b5c24dbf65bd47eb692 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
Description: Fix build failure with new version of setuptools
 Files get installed in /usr/local.
Author: Valentin Vidic <vvidic@debian.org>
Last-Update: 2022-10-15
---
This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
--- a/Makefile.am
+++ b/Makefile.am
@@ -69,6 +69,7 @@
 	$(PYTHON) $(srcdir)/setup.py install \
 		--root $(DESTDIR)/// \
 		$(python_prefix) \
+		--install-layout=deb \
 		--record $(DESTDIR)$(pkgpythondir)/install_files.txt \
 		--verbose
 	$(INSTALL) -d -m 770 $(DESTDIR)$(CRM_CACHE_DIR)