File: 0001-Add_--install-layout%3Ddeb_to_setup.py_call.patch

package info (click to toggle)
bind9 1%3A9.16.50-1~deb11u2
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 50,580 kB
  • sloc: ansic: 330,886; sh: 53,968; perl: 7,832; python: 3,949; makefile: 3,555; cpp: 2,156; xml: 114; lisp: 31
file content (24 lines) | stat: -rw-r--r-- 1,032 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
From: Debian DNS Packaging <pkg-dns-devel@lists.alioth.debian.org>
Date: Fri, 24 Nov 2017 16:26:55 +0000
Subject: Add_--install-layout=deb_to_setup.py_call

---
 bin/python/Makefile.in | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/bin/python/Makefile.in b/bin/python/Makefile.in
index dc1af40..a87927a 100644
--- a/bin/python/Makefile.in
+++ b/bin/python/Makefile.in
@@ -45,9 +45,9 @@ install:: ${TARGETS} installdirs
 	${INSTALL_SCRIPT} dnssec-keymgr ${DESTDIR}${sbindir}
 	if test -n "${PYTHON}" ; then \
 		if test -n "${DESTDIR}" ; then \
-			${PYTHON} ${srcdir}/setup.py install --root=${DESTDIR} --prefix=${prefix} @PYTHON_INSTALL_LIB@ ; \
+			${PYTHON} ${srcdir}/setup.py install --root=${DESTDIR} --prefix=${prefix} @PYTHON_INSTALL_LIB@ --install-layout=deb ; \
 		else \
-			${PYTHON} ${srcdir}/setup.py install --prefix=${prefix} @PYTHON_INSTALL_LIB@ ; \
+			${PYTHON} ${srcdir}/setup.py install --prefix=${prefix} @PYTHON_INSTALL_LIB@ --install-layout=deb ; \
 		fi ; \
 		rm -rf build ; \
 	fi