summaryrefslogtreecommitdiff
path: root/emulators/qemu2/files/patch-Makefile
diff options
context:
space:
mode:
authorMuhammad Moinur Rahman <bofh@FreeBSD.org>2019-04-18 23:06:43 +0000
committerMuhammad Moinur Rahman <bofh@FreeBSD.org>2019-04-18 23:06:43 +0000
commit6faf908c6ef3fb7ee325fd2ffd1cba950e644a62 (patch)
tree1940c0306bfebc2b59c139bc25a3bc55c28f23aa /emulators/qemu2/files/patch-Makefile
parentUpgrade to 12 to make it fetchable again. (diff)
[NEW] emulators/qemu2: 2.X version of emulators/qemu
- Remove GNS3 OPTION - Update dependency to gtk30 and sdl20 - Limit PORTSCOUT to 2.X verrsion only
Diffstat (limited to 'emulators/qemu2/files/patch-Makefile')
-rw-r--r--emulators/qemu2/files/patch-Makefile42
1 files changed, 42 insertions, 0 deletions
diff --git a/emulators/qemu2/files/patch-Makefile b/emulators/qemu2/files/patch-Makefile
new file mode 100644
index 000000000000..2cd4ced63f7e
--- /dev/null
+++ b/emulators/qemu2/files/patch-Makefile
@@ -0,0 +1,42 @@
+--- Makefile.orig 2018-08-02 21:48:53 UTC
++++ Makefile
+@@ -350,9 +350,14 @@ LIBS+=-lz $(LIBS_TOOLS)
+ HELPERS-$(CONFIG_LINUX) = qemu-bridge-helper$(EXESUF)
+
+ ifdef BUILD_DOCS
++ifdef NOPORTDOCS
++DOCS=qemu.1 qemu-img.1 qemu-nbd.8 qemu-ga.8
++DOCS+=docs/interop/qemu-qmp-ref.7 docs/interop/qemu-ga-ref.7
++else
+ DOCS=qemu-doc.html qemu-doc.txt qemu.1 qemu-img.1 qemu-nbd.8 qemu-ga.8
+ DOCS+=docs/interop/qemu-qmp-ref.html docs/interop/qemu-qmp-ref.txt docs/interop/qemu-qmp-ref.7
+ DOCS+=docs/interop/qemu-ga-ref.html docs/interop/qemu-ga-ref.txt docs/interop/qemu-ga-ref.7
++endif
+ DOCS+=docs/qemu-block-drivers.7
+ ifdef CONFIG_VIRTFS
+ DOCS+=fsdev/virtfs-proxy-helper.1
+@@ -797,11 +802,13 @@ BLOBS=
+ endif
+
+ install-doc: $(DOCS)
++ifndef NOPORTDOCS
+ $(INSTALL_DIR) "$(DESTDIR)$(qemu_docdir)"
+ $(INSTALL_DATA) qemu-doc.html "$(DESTDIR)$(qemu_docdir)"
+ $(INSTALL_DATA) qemu-doc.txt "$(DESTDIR)$(qemu_docdir)"
+ $(INSTALL_DATA) docs/interop/qemu-qmp-ref.html "$(DESTDIR)$(qemu_docdir)"
+ $(INSTALL_DATA) docs/interop/qemu-qmp-ref.txt "$(DESTDIR)$(qemu_docdir)"
++endif
+ ifdef CONFIG_POSIX
+ $(INSTALL_DIR) "$(DESTDIR)$(mandir)/man1"
+ $(INSTALL_DATA) qemu.1 "$(DESTDIR)$(mandir)/man1"
+@@ -815,8 +822,10 @@ ifneq ($(TOOLS),)
+ endif
+ ifneq (,$(findstring qemu-ga,$(TOOLS)))
+ $(INSTALL_DATA) qemu-ga.8 "$(DESTDIR)$(mandir)/man8"
++ifndef NOPORTDOCS
+ $(INSTALL_DATA) docs/interop/qemu-ga-ref.html "$(DESTDIR)$(qemu_docdir)"
+ $(INSTALL_DATA) docs/interop/qemu-ga-ref.txt "$(DESTDIR)$(qemu_docdir)"
++endif
+ $(INSTALL_DATA) docs/interop/qemu-ga-ref.7 "$(DESTDIR)$(mandir)/man7"
+ endif
+ endif