app-emulation/qemu: fix systemtap patch
authorMatthias Maier <tamiko@gentoo.org>
Mon, 20 May 2019 16:27:04 +0000 (11:27 -0500)
committerMatthias Maier <tamiko@gentoo.org>
Mon, 20 May 2019 16:27:28 +0000 (11:27 -0500)
Thanks to hangglider@gmx.de for pointing this out!

Closes: https://bugs.gentoo.org/686370
Package-Manager: Portage-2.3.66, Repoman-2.3.12
Signed-off-by: Matthias Maier <tamiko@gentoo.org>
app-emulation/qemu/files/qemu-4.0.0-mkdir_systemtap.patch

index abfcbd1b9afcfab78e19c09527bf00dac1507b76..95ccdd7a4b1c9be2b4200ea7b8f172c7b65134be 100644 (file)
@@ -2,11 +2,11 @@ diff --git a/Makefile b/Makefile
 index 04a0d450..e0013a59 100644
 --- a/Makefile
 +++ b/Makefile
-@@ -760,6 +760,7 @@ ifneq ($(TOOLS),)
-       $(INSTALL_DATA) qemu-nbd.8 "$(DESTDIR)$(mandir)/man8"
+@@ -803,6 +802,7 @@
+       $(call install-prog,$(HELPERS-y),$(DESTDIR)$(libexecdir))
  endif
  ifdef CONFIG_TRACE_SYSTEMTAP
 +      mkdir -p $(DESTDIR)$(bindir)
-       $(INSTALL_DATA) scripts/qemu-trace-stap.1 "$(DESTDIR)$(mandir)/man1"
+       $(INSTALL_PROG) "scripts/qemu-trace-stap" $(DESTDIR)$(bindir)
  endif
- ifneq (,$(findstring qemu-ga,$(TOOLS)))
+ ifneq ($(BLOBS),)