From 66cba8471964993f38e489f68b262f0558544edf Mon Sep 17 00:00:00 2001 From: Steven Stallion Date: Sun, 12 Nov 2023 09:55:16 -0600 Subject: app-emulation/wslu: fix ebuild Closes: https://bugs.gentoo.org/916988 Closes: https://bugs.gentoo.org/916991 Signed-off-by: Steven Stallion --- .../wslu/files/wslu-dont-compress-manpages.patch | 29 ++++++++++++++++++++++ app-emulation/wslu/wslu-4.1.1.ebuild | 6 +++++ 2 files changed, 35 insertions(+) create mode 100644 app-emulation/wslu/files/wslu-dont-compress-manpages.patch (limited to 'app-emulation') diff --git a/app-emulation/wslu/files/wslu-dont-compress-manpages.patch b/app-emulation/wslu/files/wslu-dont-compress-manpages.patch new file mode 100644 index 000000000..0a6de5ab3 --- /dev/null +++ b/app-emulation/wslu/files/wslu-dont-compress-manpages.patch @@ -0,0 +1,29 @@ +Don't compress man pages. +https://bugs.gentoo.org/show_bug.cgi?id=916991 + +--- a/Makefile ++++ b/Makefile +@@ -38,7 +38,7 @@ uninstall: + for f in $(INSTEDMANOS); do \ + rm -f $$f; \ + done +- rm -rf $(DESTDIR)$(PREFIX)/share/man/man7/wslu.7.gz ++ rm -rf $(DESTDIR)$(PREFIX)/share/man/man7/wslu.7 + rm -rf $(DESTDIR)$(PREFIX)/share/wslu + + doc: +@@ -47,12 +47,11 @@ doc: + cp $$file $(OUTMANPATH); \ + sed -e 's/DATEPLACEHOLDER/'$(DATETMP)'/' -e 's/VERSIONPLACEHOLDER/'$(VERTMP)'/' $(OUTMANPATH)/`basename $$file` > $(OUTMANPATH)/`basename $$file`.tmp; \ + mv $(OUTMANPATH)/`basename $$file`.tmp $(OUTMANPATH)/`basename $$file`; \ +- gzip -f -q $(OUTMANPATH)/`basename $$file`; \ + done + + doc_install: +- install -Dm 644 out-docs/*.1.gz -t $(DESTDIR)$(PREFIX)/share/man/man1 +- install -Dm 644 out-docs/*.7.gz -t $(DESTDIR)$(PREFIX)/share/man/man7 ++ install -Dm 644 out-docs/*.1 -t $(DESTDIR)$(PREFIX)/share/man/man1 ++ install -Dm 644 out-docs/*.7 -t $(DESTDIR)$(PREFIX)/share/man/man7 + + res_install: + install -Dm 644 src/etc/*.vbs -t $(DESTDIR)$(PREFIX)/share/wslu diff --git a/app-emulation/wslu/wslu-4.1.1.ebuild b/app-emulation/wslu/wslu-4.1.1.ebuild index 0888e9ec2..d7525af89 100644 --- a/app-emulation/wslu/wslu-4.1.1.ebuild +++ b/app-emulation/wslu/wslu-4.1.1.ebuild @@ -11,12 +11,18 @@ LICENSE="GPL-3" SLOT="0" KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~x86" +RESTRICT="test" + RDEPEND=" app-shells/bash-completion sys-devel/bc sys-process/psmisc " +PATCHES=( + "${FILESDIR}"/${PN}-dont-compress-manpages.patch #916991 +) + src_install() { emake DESTDIR="${D}" install dodoc README.md -- cgit v1.2.3-65-gdbad