commit: c3afe9b0972272a1914dc981ba547a06ff693a38 Author: Thomas Deutschmann <whissi <AT> gentoo <DOT> org> AuthorDate: Tue Dec 31 02:27:58 2019 +0000 Commit: Thomas Deutschmann <whissi <AT> gentoo <DOT> org> CommitDate: Tue Dec 31 02:35:31 2019 +0000 URL: https://gitweb.gentoo.org/proj/genkernel.git/commit/?id=c3afe9b0
gkbuilds/thin-provisioning-tools: Don't generate man pages Package is shipping own txt2man utility which tries to use ksh in some situations causing a build failure when ksh isn't present. However, we don't need man pages. This commit will add a patch which will skip generation of man pages. Closes: https://bugs.gentoo.org/704330 Signed-off-by: Thomas Deutschmann <whissi <AT> gentoo.org> ...thin-provisioning-tools-0.8.5-no-manpages.patch | 27 ++++++++++++++++++++++ 1 file changed, 27 insertions(+) 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 new file mode 100644 index 0000000..25f6381 --- /dev/null +++ b/patches/thin-provisioning-tools/0.8.5/thin-provisioning-tools-0.8.5-no-manpages.patch @@ -0,0 +1,27 @@ +--- a/Makefile.in ++++ b/Makefile.in +@@ -279,7 +279,7 @@ TOOLS:=\ + + MANPAGES:=$(patsubst %,man8/%.8,$(TOOLS)) + +-install: bin/pdata_tools $(MANPAGES) ++install: bin/pdata_tools + $(INSTALL_DIR) $(BINDIR) + $(INSTALL_PROGRAM) bin/pdata_tools $(BINDIR) + $(STRIP) $(BINDIR)/pdata_tools +@@ -302,6 +302,7 @@ install: bin/pdata_tools $(MANPAGES) + ln -s -f pdata_tools $(BINDIR)/era_dump + ln -s -f pdata_tools $(BINDIR)/era_invalidate + ln -s -f pdata_tools $(BINDIR)/era_restore ++ifeq ("@INSTALLMANPAGES@", "yes") + $(INSTALL_DIR) $(MANPATH)/man8 + $(INSTALL_DATA) man8/cache_check.8 $(MANPATH)/man8 + $(INSTALL_DATA) man8/cache_dump.8 $(MANPATH)/man8 +@@ -322,6 +323,7 @@ install: bin/pdata_tools $(MANPAGES) + $(INSTALL_DATA) man8/era_restore.8 $(MANPATH)/man8 + $(INSTALL_DATA) man8/era_invalidate.8 $(MANPATH)/man8 + $(INSTALL_DATA) man8/thin_trim.8 $(MANPATH)/man8 ++endif + ifeq ("@DEVTOOLS@", "yes") + ln -s -f pdata_tools $(BINDIR)/thin_show_duplicates + ln -s -f pdata_tools $(BINDIR)/thin_ll_dump
