pkgsrc/sysutils/xentools3/patches/patch-al
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

28 lines
1.1 KiB
Text

$NetBSD: patch-al,v 1.1.1.1 2007/06/14 19:39:46 bouyer Exp $
--- console/Makefile.orig 2007-05-18 16:45:21.000000000 +0200
+++ console/Makefile 2007-05-27 13:45:20.000000000 +0200
@@ -21,16 +21,17 @@
$(RM) client/*.o daemon/*.o
xenconsoled: $(patsubst %.c,%.o,$(wildcard daemon/*.c))
- $(CC) $(CFLAGS) $^ -o $@ -L$(XEN_LIBXC) -L$(XEN_XENSTORE) \
+ $(CC) $(CFLAGS) $^ -o $@ $(LDFLAGS) -L$(XEN_LIBXC) -L$(XEN_XENSTORE) \
$(SOCKET_LIBS) -lxenctrl -lxenstore
xenconsole: $(patsubst %.c,%.o,$(wildcard client/*.c))
- $(CC) $(CFLAGS) $^ -o $@ -L$(XEN_LIBXC) -L$(XEN_XENSTORE) \
+ $(CC) $(CFLAGS) $^ -o $@ $(LDFLAGS) -L$(XEN_LIBXC) -L$(XEN_XENSTORE) \
$(SOCKET_LIBS) -lxenctrl -lxenstore
.PHONY: install
install: $(BIN)
- $(INSTALL_DIR) $(DESTDIR)/$(DAEMON_INSTALL_DIR)
- $(INSTALL_PROG) xenconsoled $(DESTDIR)/$(DAEMON_INSTALL_DIR)
- $(INSTALL_DIR) $(DESTDIR)/$(CLIENT_INSTALL_DIR)
- $(INSTALL_PROG) xenconsole $(DESTDIR)/$(CLIENT_INSTALL_DIR)
+ $(BSD_INSTALL_PROGRAM_DIR) $(PREFIX)/sbin
+ $(BSD_INSTALL_PROGRAM) xenconsoled $(PREFIX)/sbin
+ $(BSD_INSTALL_PROGRAM_DIR) $(PREFIX)/bin
+ $(BSD_INSTALL_PROGRAM) xenconsole $(PREFIX)/bin
+