Files
pkgsrc-ng/sysutils/xentools42/patches/patch-hotplug_common_Makefile
2016-01-21 23:42:40 +01:00

25 lines
798 B
Plaintext

$NetBSD: patch-hotplug_common_Makefile,v 1.2 2015/08/23 16:17:12 spz Exp $
--- hotplug/common/Makefile.orig 2014-09-02 06:22:57.000000000 +0000
+++ hotplug/common/Makefile
@@ -23,15 +23,15 @@ install: all install-scripts
.PHONY: install-scripts
install-scripts: build
- [ -d $(DESTDIR)$(XEN_SCRIPT_DIR) ] || \
- $(INSTALL_DIR) $(DESTDIR)$(XEN_SCRIPT_DIR)
+ [ -d $(DESTDIR)${EGDIR}/scripts ] || \
+ $(INSTALL_DIR) $(DESTDIR)${EGDIR}/scripts
set -e; for i in $(XEN_SCRIPTS); \
do \
- $(INSTALL_PROG) $$i $(DESTDIR)$(XEN_SCRIPT_DIR); \
+ $(INSTALL_PROG) $$i $(DESTDIR)${EGDIR}/scripts; \
done
set -e; for i in $(XEN_SCRIPT_DATA); \
do \
- $(INSTALL_DATA) $$i $(DESTDIR)$(XEN_SCRIPT_DIR); \
+ $(INSTALL_DATA) $$i $(DESTDIR)${EGDIR}/scripts; \
done
.PHONY: clean