diff options
author | Steven Stallion <sstallion@gmail.com> | 2023-11-12 09:55:16 -0600 |
---|---|---|
committer | Steven Stallion <sstallion@gmail.com> | 2023-11-12 10:01:57 -0600 |
commit | 66cba8471964993f38e489f68b262f0558544edf (patch) | |
tree | 1c4334ecf972c52203dd5155592461c4f58ca5b0 /app-emulation | |
parent | games-util/grapejuice: version bump 7.20.12 (diff) | |
download | guru-66cba8471964993f38e489f68b262f0558544edf.tar.gz guru-66cba8471964993f38e489f68b262f0558544edf.tar.bz2 guru-66cba8471964993f38e489f68b262f0558544edf.zip |
app-emulation/wslu: fix ebuild
Closes: https://bugs.gentoo.org/916988
Closes: https://bugs.gentoo.org/916991
Signed-off-by: Steven Stallion <sstallion@gmail.com>
Diffstat (limited to 'app-emulation')
-rw-r--r-- | app-emulation/wslu/files/wslu-dont-compress-manpages.patch | 29 | ||||
-rw-r--r-- | app-emulation/wslu/wslu-4.1.1.ebuild | 6 |
2 files changed, 35 insertions, 0 deletions
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 |