summaryrefslogtreecommitdiff
path: root/sysutils/xentools3-hvm/patches/patch-ao
blob: a99fa1d2dd582e1c90d217e8dd32c7a93c6cd804 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
$NetBSD: patch-ao,v 1.1.1.1 2007/06/14 19:42:12 bouyer Exp $

--- ioemu/configure.orig	2006-10-04 04:28:06.000000000 +0200
+++ ioemu/configure	2006-10-18 17:37:42.000000000 +0200
@@ -517,7 +517,7 @@
 datadir="$prefix/share/xen/qemu"
 docdir="$prefix/share/doc/qemu"
-bindir="$prefix/$libdir/xen/bin"
+bindir="$prefix/libexec"
-configdir="/etc/xen"
+configdir="@XENDCONFDIR@"
 fi
 
 echo "Install prefix    $prefix"
@@ -653,6 +653,8 @@
   echo "#define CONFIG_WIN32 1" >> $config_h
 elif test -f "/usr/include/byteswap.h" ; then
   echo "#define HAVE_BYTESWAP_H 1" >> $config_h
+elif test -f "/usr/include/machine/bswap.h" ; then
+  echo "#define HAVE_MACHINE_BSWAP_H 1" >> $config_h
 fi
 if test "$darwin" = "yes" ; then
   echo "CONFIG_DARWIN=yes" >> $config_mak