pkgsrc/sysutils/xentools33/patches/patch-fb
cegger 09edac3ab5 Import Xen 3.3.0-rc3
The Xen virtual machine monitor allows running several virtual machines on a
single physical machine.  The xentools33 package contains the tools to create,
destroy and control the virtual machines.
The xentools33 package contains the tools for Xen 3.3.x
2008-08-07 20:26:56 +00:00

36 lines
1,021 B
Text

$NetBSD: patch-fb,v 1.1.1.1 2008/08/07 20:26:59 cegger Exp $
--- ioemu/configure.orig 2008-08-01 14:38:07.000000000 +0000
+++ ioemu/configure
@@ -591,17 +591,17 @@ fi
mandir="$prefix"
datadir="$prefix"
docdir="$prefix"
-bindir="$prefix"
-configdir=""
+bindir="$prefix/libexec"
+configdir="@XENDCONFDIR@"
else
if test -z "$prefix" ; then
prefix="/usr/local"
fi
-mandir="$prefix/share/man"
+mandir="$prefix/man"
datadir="$prefix/share/xen/qemu"
docdir="$prefix/share/doc/qemu"
-bindir="$prefix/$libdir/xen/bin"
-configdir="/etc/xen"
+bindir="$prefix/libexec"
+configdir="@XENDCONFDIR@"
fi
if test "$stubdom" = "yes"; then
@@ -744,6 +744,8 @@ if test "$mingw32" = "yes" ; then
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