[Debian-ha-commits] [pcs] 02/05: d/patches: fix Makefile to work with dash (Closes: #867287)

Valentin Vidic vvidic-guest at moszumanska.debian.org
Wed Jul 5 18:05:45 UTC 2017


This is an automated email from the git hooks/post-receive script.

vvidic-guest pushed a commit to branch master
in repository pcs.

commit f476b8f2f7e6d62189f6ba42c8b972106469ca5b
Author: Valentin Vidic <Valentin.Vidic at CARNet.hr>
Date:   Wed Jul 5 16:43:56 2017 +0200

    d/patches: fix Makefile to work with dash (Closes: #867287)
---
 debian/patches/0010-Fix-Makefile-dash.patch | 17 +++++++++++++++++
 debian/patches/series                       |  1 +
 2 files changed, 18 insertions(+)

diff --git a/debian/patches/0010-Fix-Makefile-dash.patch b/debian/patches/0010-Fix-Makefile-dash.patch
new file mode 100644
index 0000000..a5363d2
--- /dev/null
+++ b/debian/patches/0010-Fix-Makefile-dash.patch
@@ -0,0 +1,17 @@
+Description: Update Makefile to work with dash
+ echo -e does not work in dash, use printf instead
+Author: Valentin Vidic <Valentin.Vidic at CARNet.hr>
+Last-Update: 2017-07-05
+---
+This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
+--- a/Makefile
++++ b/Makefile
+@@ -100,7 +100,7 @@
+ 
+ install:
+ 	# make Python interpreter execution sane (via -Es flags)
+-	echo -e "[build]\nexecutable = $(PYTHON) -Es\n" > setup.cfg
++	printf "[build]\nexecutable = $(PYTHON) -Es\n" > setup.cfg
+ 	$(PYTHON) setup.py install --root=$(or ${DESTDIR}, /) ${EXTRA_SETUP_OPTS}
+ 	# fix excessive script interpreting "executable" quoting with old setuptools:
+ 	# https://github.com/pypa/setuptools/issues/188
diff --git a/debian/patches/series b/debian/patches/series
index e4e2ad8..e73de26 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -7,3 +7,4 @@
 0007-Fix-testsuite.patch
 0008-Replace-chkconfig.patch
 0009-Fix-python-lxml.patch
+0010-Fix-Makefile-dash.patch

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-ha/pcs.git



More information about the Debian-HA-Commits mailing list