diff options
Diffstat (limited to 'debian/patches/python3-use-deb-layout.patch')
-rw-r--r-- | debian/patches/python3-use-deb-layout.patch | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/debian/patches/python3-use-deb-layout.patch b/debian/patches/python3-use-deb-layout.patch new file mode 100644 index 00000000..467c044e --- /dev/null +++ b/debian/patches/python3-use-deb-layout.patch @@ -0,0 +1,16 @@ +Description: Use debian install layout +Author: Dimitri John Ledkov <xnox@ubuntu.com> +Forwarded: not-needed +Last-Update: 2018-05-14 + +--- btrfs-progs-4.16.1.orig/Makefile ++++ btrfs-progs-4.16.1/Makefile +@@ -651,7 +651,7 @@ endif + ifeq ($(PYTHON_BINDINGS),1) + install_python: libbtrfsutil_python + $(Q)cd libbtrfsutil/python; \ +- $(PYTHON) setup.py install --skip-build $(if $(DESTDIR),--root $(DESTDIR)) --prefix $(prefix) ++ $(PYTHON) setup.py install --install-layout=deb --skip-build $(if $(DESTDIR),--root $(DESTDIR)) --prefix $(prefix) + + .PHONY: install_python + endif |