summaryrefslogtreecommitdiff
path: root/sysutils/xentools413/patches/patch-tools_hotplug_common_Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'sysutils/xentools413/patches/patch-tools_hotplug_common_Makefile')
-rw-r--r--sysutils/xentools413/patches/patch-tools_hotplug_common_Makefile24
1 files changed, 24 insertions, 0 deletions
diff --git a/sysutils/xentools413/patches/patch-tools_hotplug_common_Makefile b/sysutils/xentools413/patches/patch-tools_hotplug_common_Makefile
new file mode 100644
index 00000000000..c8a71836d94
--- /dev/null
+++ b/sysutils/xentools413/patches/patch-tools_hotplug_common_Makefile
@@ -0,0 +1,24 @@
+$NetBSD: patch-tools_hotplug_common_Makefile,v 1.1 2020/05/26 11:12:11 bouyer Exp $
+
+--- tools/hotplug/common/Makefile.orig 2018-04-17 19:21:31.000000000 +0200
++++ tools/hotplug/common/Makefile 2018-04-23 16:03:55.000000000 +0200
+@@ -26,15 +26,15 @@
+
+ .PHONY: install-scripts
+ install-scripts: build
+- [ -d $(DESTDIR)$(XEN_SCRIPT_DIR) ] || \
+- $(INSTALL_DIR) $(DESTDIR)$(XEN_SCRIPT_DIR)
++ [ -d $(DESTDIR)${XEN_EXAMPLES_DIR}/scripts ] || \
++ $(INSTALL_DIR) $(DESTDIR)${XEN_EXAMPLES_DIR}/scripts
+ set -e; for i in $(XEN_SCRIPTS); \
+ do \
+- $(INSTALL_PROG) $$i $(DESTDIR)$(XEN_SCRIPT_DIR); \
++ $(INSTALL_PROG) $$i $(DESTDIR)${XEN_EXAMPLES_DIR}/scripts; \
+ done
+ set -e; for i in $(XEN_SCRIPT_DATA); \
+ do \
+- $(INSTALL_DATA) $$i $(DESTDIR)$(XEN_SCRIPT_DIR); \
++ $(INSTALL_DATA) $$i $(DESTDIR)${XEN_EXAMPLES_DIR}/scripts; \
+ done
+
+ .PHONY: uninstall-scripts