aboutsummaryrefslogtreecommitdiff
path: root/emulators/qemu-utils
diff options
context:
space:
mode:
authorDirk Meyer <dinoex@FreeBSD.org>2020-09-23 09:25:45 +0000
committerDirk Meyer <dinoex@FreeBSD.org>2020-09-23 09:25:45 +0000
commit81b47a6b61d1fd9eabacf61ec710ef418a3caa4e (patch)
treec4e88a54f170a2500ba4629b0a9de700f9c8830c /emulators/qemu-utils
parent321b3c69803e907d5cf9d9f1a92a3fa535faf4e8 (diff)
downloadports-81b47a6b61d1fd9eabacf61ec710ef418a3caa4e.tar.gz
ports-81b47a6b61d1fd9eabacf61ec710ef418a3caa4e.zip
- fix build
PR: 248101 Approved by: ken
Notes
Notes: svn path=/head/; revision=549674
Diffstat (limited to 'emulators/qemu-utils')
-rw-r--r--emulators/qemu-utils/Makefile2
-rw-r--r--emulators/qemu-utils/files/patch-Makefile21
2 files changed, 11 insertions, 12 deletions
diff --git a/emulators/qemu-utils/Makefile b/emulators/qemu-utils/Makefile
index 4c4a7cca9186..2e805a452809 100644
--- a/emulators/qemu-utils/Makefile
+++ b/emulators/qemu-utils/Makefile
@@ -5,8 +5,6 @@ PKGNAMESUFFIX= -utils
MAINTAINER= ken@FreeBSD.org
COMMENT= QEMU userland utilities
-BROKEN= fails to configure
-
HAS_CONFIGURE= yes
USES= compiler:c11 cpe gettext-runtime gmake gnome perl5 pkgconfig \
python:build tar:xz
diff --git a/emulators/qemu-utils/files/patch-Makefile b/emulators/qemu-utils/files/patch-Makefile
index 95a3110abd24..3890728f9992 100644
--- a/emulators/qemu-utils/files/patch-Makefile
+++ b/emulators/qemu-utils/files/patch-Makefile
@@ -1,12 +1,13 @@
---- Makefile.orig 2019-08-08 19:18:25.578250000 +0000
-+++ Makefile 2019-08-08 19:20:21.482341000 +0000
-@@ -355,14 +355,10 @@
+--- Makefile.orig 2020-09-18 12:03:57 UTC
++++ Makefile
+@@ -344,14 +344,11 @@ endif
ifdef BUILD_DOCS
ifdef NOPORTDOCS
- DOCS=qemu.1 qemu-img.1 qemu-nbd.8 qemu-ga.8
+ DOCS=qemu.1 qemu-img.1 qemu-nbd.8 $(MANUAL_BUILDDIR)/interop/qemu-ga.8
-DOCS+=docs/interop/qemu-qmp-ref.7 docs/interop/qemu-ga-ref.7
++DOCS+=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=qemu-doc.html qemu-doc.txt qemu.1 qemu-img.1 qemu-nbd.8 $(MANUAL_BUILDDIR)/interop/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
@@ -15,7 +16,7 @@
ifdef CONFIG_VIRTFS
DOCS+=fsdev/virtfs-proxy-helper.1
endif
-@@ -832,16 +828,10 @@
+@@ -828,16 +825,10 @@ ifndef NOPORTDOCS
$(INSTALL_DIR) "$(DESTDIR)$(qemu_docdir)"
$(INSTALL_DATA) qemu-doc.html "$(DESTDIR)$(qemu_docdir)"
$(INSTALL_DATA) qemu-doc.txt "$(DESTDIR)$(qemu_docdir)"
@@ -29,12 +30,12 @@
- $(INSTALL_DATA) docs/interop/qemu-qmp-ref.7 "$(DESTDIR)$(mandir)/man7"
- $(INSTALL_DATA) docs/qemu-block-drivers.7 "$(DESTDIR)$(mandir)/man7"
- $(INSTALL_DATA) docs/qemu-cpu-models.7 "$(DESTDIR)$(mandir)/man7"
- ifneq ($(TOOLS),)
+ ifeq ($(CONFIG_TOOLS),y)
$(INSTALL_DATA) qemu-img.1 "$(DESTDIR)$(mandir)/man1"
$(INSTALL_DIR) "$(DESTDIR)$(mandir)/man8"
-@@ -895,11 +885,6 @@
- ifdef CONFIG_GTK
- $(MAKE) -C po $@
+@@ -942,11 +933,6 @@ endif
+ ifeq ($(CONFIG_PLUGIN),y)
+ $(INSTALL_DATA) $(SRC_PATH)/include/qemu/qemu-plugin.h "$(DESTDIR)$(includedir)/qemu-plugin.h"
endif
- $(INSTALL_DIR) "$(DESTDIR)$(qemu_datadir)/keymaps"
- set -e; for x in $(KEYMAPS); do \