$NetBSD: patch-ay,v 1.1.1.1 2006/10/19 22:58:21 bouyer Exp $

--- ioemu/patches/xen-build.orig	2006-10-04 04:28:11.000000000 +0200
+++ ioemu/patches/xen-build	2006-10-18 17:57:53.000000000 +0200
@@ -139,7 +139,7 @@
  ifeq ($(ARCH),alpha)
  # Mark as 32 bit binary, i. e. it will be mapped into the low 31 bit of
  # the address space (31 bit so sign extending doesn't matter)
-@@ -528,10 +541,16 @@
+@@ -528,10 +541,14 @@
  clean:
  	rm -f *.o  *.a *~ $(PROGS) gen-op.h opc.h op.h nwfpe/*.o slirp/*.o fpu/*.o
  
@@ -147,12 +147,10 @@
 +	rm -rf config.mak config.h
 +
  install: all 
-+	mkdir -p "$(DESTDIR)$(bindir)" "$(DESTDIR)$(configdir)"
++	$(BSD_INSTALL_PROGRAM_DIR) $(INSTALL_DIR)
  ifneq ($(PROGS),)
- 	$(INSTALL) -m 755 -s $(PROGS) "$(DESTDIR)$(bindir)"
+ 	$(BSD_INSTALL_PROGRAM) $(PROGS) $(INSTALL_DIR)
  endif
-+	install -m 755 $(TARGET_PATH)/qemu-dm.debug "$(DESTDIR)$(bindir)"
-+	install -m 755 $(TARGET_PATH)/qemu-ifup "$(DESTDIR)$(configdir)"
  
  ifneq ($(wildcard .depend),)
  include .depend
