pkgsrc/sysutils/xentools3/patches/patch-aw
bouyer f9a2cde352 Rename xentools30 to xentools3 to acknowledge that Xen dropped one digit
in version numbers, and upgrade to 3.1.0.
Changes since 3.0.4:
    *   XenAPI 1.0 support
          o XML configuration files for virtual machines;
          o VM life-cycle management operations; and
          o Secure on- or off-box XML-RPC with bindings for many languages
    * Basic save/restore/migrate support for HVM (e.g. Windows) VMs;
    * Dynamic memory control for HVM guests;
    * 32-on-64 PV guest support (run PAE PV VMs on a 64-bit Xen!); and
    * Blktap copy-on-write disk support.

It also fixes some HVM bugs.
2007-06-14 19:39:45 +00:00

42 lines
1.5 KiB
Text

$NetBSD: patch-aw,v 1.1.1.1 2007/06/14 19:39:46 bouyer Exp $
--- misc/Makefile.orig 2007-05-18 16:45:21.000000000 +0200
+++ misc/Makefile 2007-05-27 13:48:51.000000000 +0200
@@ -13,8 +13,10 @@
TARGETS-$(CONFIG_X86) += xen-detect
TARGETS := $(TARGETS-y)
-INSTALL_BIN = $(TARGETS) xencons
-INSTALL_SBIN = netfix xm xen-bugtool xen-python-path xend xenperf
+INSTALL_BIN = $(TARGETS)
+INSTALL_BIN_SCRIPT = xencons
+INSTALL_SBIN = xenperf
+INSTALL_SBIN_SCRIPT = netfix xm xen-bugtool xend xen-python-path
.PHONY: all
all: build
@@ -26,11 +28,13 @@
.PHONY: install
install: build
- [ -d $(DESTDIR)/usr/bin ] || $(INSTALL_DIR) $(DESTDIR)/usr/bin
- [ -d $(DESTDIR)/usr/sbin ] || $(INSTALL_DIR) $(DESTDIR)/usr/sbin
- $(INSTALL_PROG) $(INSTALL_BIN) $(DESTDIR)/usr/bin
- $(INSTALL_PROG) $(INSTALL_SBIN) $(DESTDIR)/usr/sbin
- $(MAKE) -C lomount install
+ $(BSD_INSTALL_PROGRAM_DIR) $(PREFIX)/bin
+ $(BSD_INSTALL_PROGRAM_DIR) $(PREFIX)/sbin
+ $(BSD_INSTALL_PROGRAM) $(INSTALL_BIN) $(PREFIX)/bin
+ $(BSD_INSTALL_SCRIPT) $(INSTALL_BIN_SCRIPT) $(PREFIX)/bin
+ $(BSD_INSTALL_PROGRAM) $(INSTALL_SBIN) $(PREFIX)/sbin
+ $(BSD_INSTALL_SCRIPT) $(INSTALL_SBIN_SCRIPT) $(PREFIX)/sbin
+# $(MAKE) -C lomount install
# No sense in installing miniterm on the Xen box.
# $(MAKE) -C miniterm install
@@ -44,4 +48,4 @@
$(CC) -c $(CFLAGS) -o $@ $<
xenperf: %: %.o Makefile
- $(CC) $(CFLAGS) -o $@ $< -L$(XEN_LIBXC) -lxenctrl
+ $(CC) $(CFLAGS) -o $@ $< $(LDFLAGS) -L$(XEN_LIBXC) -lxenctrl