summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMiroslav Šulc <fordfrog@gentoo.org>2020-09-17 10:03:29 +0200
committerMiroslav Šulc <fordfrog@gentoo.org>2020-09-17 10:03:29 +0200
commit316abf776e342e4502c1fe7b7770127b30c1589b (patch)
treec2ceb03d0fa20800b01c7b2ed1c05092ea60506c /media-sound
parentmedia-sound/qjackctl: fixed installation of 9999 (diff)
downloadgentoo-316abf776e342e4502c1fe7b7770127b30c1589b.tar.gz
gentoo-316abf776e342e4502c1fe7b7770127b30c1589b.tar.bz2
gentoo-316abf776e342e4502c1fe7b7770127b30c1589b.zip
media-sound/qsampler: fixed installation of 9999
Package-Manager: Portage-3.0.7, Repoman-3.0.1 Signed-off-by: Miroslav Šulc <fordfrog@gentoo.org>
Diffstat (limited to 'media-sound')
-rw-r--r--media-sound/qsampler/files/qsampler-9999-Makefile.patch15
-rw-r--r--media-sound/qsampler/qsampler-9999.ebuild2
2 files changed, 16 insertions, 1 deletions
diff --git a/media-sound/qsampler/files/qsampler-9999-Makefile.patch b/media-sound/qsampler/files/qsampler-9999-Makefile.patch
new file mode 100644
index 000000000000..29788b0fd35b
--- /dev/null
+++ b/media-sound/qsampler/files/qsampler-9999-Makefile.patch
@@ -0,0 +1,15 @@
+diff --git a/Makefile.in b/Makefile.in
+index e683df9..5c2d4f0 100644
+--- a/Makefile.in
++++ b/Makefile.in
+@@ -111,10 +111,8 @@ install: $(target) translations_lrelease $(name).1
+ @install -v -m 0644 $(translations_targets) $(DESTDIR)$(translations_dir)
+ @install -d -v -m 0755 $(DESTDIR)$(mandir)/man1
+ @install -v -m 0644 $(name).1 $(DESTDIR)$(mandir)/man1/$(name).1
+- @gzip -nvf $(DESTDIR)$(mandir)/man1/$(name).1
+ @install -d -v -m 0755 $(DESTDIR)$(mandir)/fr/man1
+ @install -v -m 0644 $(name).fr.1 $(DESTDIR)$(mandir)/fr/man1/$(name).1
+- @gzip -nvf $(DESTDIR)$(mandir)/fr/man1/$(name).1
+
+ uninstall: $(DESTDIR)$(prefix)/bin/$(name)
+ @$(MAKE) INSTALL_ROOT=$(DESTDIR) -f $(name).mak uninstall
diff --git a/media-sound/qsampler/qsampler-9999.ebuild b/media-sound/qsampler/qsampler-9999.ebuild
index fbbbc262bb94..23f189c07e1c 100644
--- a/media-sound/qsampler/qsampler-9999.ebuild
+++ b/media-sound/qsampler/qsampler-9999.ebuild
@@ -32,7 +32,7 @@ BDEPEND="dev-qt/linguist-tools:5"
DOCS=( AUTHORS ChangeLog README TODO TRANSLATORS )
-PATCHES=( "${FILESDIR}"/${PN}-0.6.3-Makefile.patch )
+PATCHES=( "${FILESDIR}"/${P}-Makefile.patch )
src_prepare() {
default