Gentoo Archives: gentoo-commits

From: Thomas Deutschmann <whissi@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] proj/genkernel:master commit in: patches/thin-provisioning-tools/0.8.5/
Date: Tue, 31 Dec 2019 02:41:31
Message-Id: 1577759731.c3afe9b0972272a1914dc981ba547a06ff693a38.whissi@gentoo
1 commit: c3afe9b0972272a1914dc981ba547a06ff693a38
2 Author: Thomas Deutschmann <whissi <AT> gentoo <DOT> org>
3 AuthorDate: Tue Dec 31 02:27:58 2019 +0000
4 Commit: Thomas Deutschmann <whissi <AT> gentoo <DOT> org>
5 CommitDate: Tue Dec 31 02:35:31 2019 +0000
6 URL: https://gitweb.gentoo.org/proj/genkernel.git/commit/?id=c3afe9b0
7
8 gkbuilds/thin-provisioning-tools: Don't generate man pages
9
10 Package is shipping own txt2man utility which tries to use ksh in some
11 situations causing a build failure when ksh isn't present.
12
13 However, we don't need man pages. This commit will add a patch
14 which will skip generation of man pages.
15
16 Closes: https://bugs.gentoo.org/704330
17 Signed-off-by: Thomas Deutschmann <whissi <AT> gentoo.org>
18
19 ...thin-provisioning-tools-0.8.5-no-manpages.patch | 27 ++++++++++++++++++++++
20 1 file changed, 27 insertions(+)
21
22 diff --git a/patches/thin-provisioning-tools/0.8.5/thin-provisioning-tools-0.8.5-no-manpages.patch b/patches/thin-provisioning-tools/0.8.5/thin-provisioning-tools-0.8.5-no-manpages.patch
23 new file mode 100644
24 index 0000000..25f6381
25 --- /dev/null
26 +++ b/patches/thin-provisioning-tools/0.8.5/thin-provisioning-tools-0.8.5-no-manpages.patch
27 @@ -0,0 +1,27 @@
28 +--- a/Makefile.in
29 ++++ b/Makefile.in
30 +@@ -279,7 +279,7 @@ TOOLS:=\
31 +
32 + MANPAGES:=$(patsubst %,man8/%.8,$(TOOLS))
33 +
34 +-install: bin/pdata_tools $(MANPAGES)
35 ++install: bin/pdata_tools
36 + $(INSTALL_DIR) $(BINDIR)
37 + $(INSTALL_PROGRAM) bin/pdata_tools $(BINDIR)
38 + $(STRIP) $(BINDIR)/pdata_tools
39 +@@ -302,6 +302,7 @@ install: bin/pdata_tools $(MANPAGES)
40 + ln -s -f pdata_tools $(BINDIR)/era_dump
41 + ln -s -f pdata_tools $(BINDIR)/era_invalidate
42 + ln -s -f pdata_tools $(BINDIR)/era_restore
43 ++ifeq ("@INSTALLMANPAGES@", "yes")
44 + $(INSTALL_DIR) $(MANPATH)/man8
45 + $(INSTALL_DATA) man8/cache_check.8 $(MANPATH)/man8
46 + $(INSTALL_DATA) man8/cache_dump.8 $(MANPATH)/man8
47 +@@ -322,6 +323,7 @@ install: bin/pdata_tools $(MANPAGES)
48 + $(INSTALL_DATA) man8/era_restore.8 $(MANPATH)/man8
49 + $(INSTALL_DATA) man8/era_invalidate.8 $(MANPATH)/man8
50 + $(INSTALL_DATA) man8/thin_trim.8 $(MANPATH)/man8
51 ++endif
52 + ifeq ("@DEVTOOLS@", "yes")
53 + ln -s -f pdata_tools $(BINDIR)/thin_show_duplicates
54 + ln -s -f pdata_tools $(BINDIR)/thin_ll_dump