Fixup fromcvs/togit conversion
[minix-pkgsrc.git] / sysutils / xentools3-hvm / patches / patch-ao
blobcd670be12339633a5ae51b62dadf091c9d95a07c
1 $NetBSD: patch-ao,v 1.2 2009/03/24 20:04:51 abs Exp $
3 --- ioemu/configure.orig        2008-04-25 15:03:12.000000000 +0200
4 +++ ioemu/configure     2009-03-31 17:41:22.000000000 +0200
5 @@ -513,11 +513,11 @@
6  if test -z "$prefix" ; then
7      prefix="/usr/local"
8  fi
9 -mandir="$prefix/share/man"
10 +mandir="$prefix/man"
11  datadir="$prefix/share/xen/qemu"
12 -docdir="$prefix/share/doc/qemu"
13 -bindir="$prefix/$libdir/xen/bin"
14 -configdir="/etc/xen"
15 +docdir="$prefix/share/doc/xen"
16 +bindir="$prefix/libexec"
17 +configdir="/usr/pkg/etc/xen"
18  fi
20  echo "Install prefix    $prefix"
21 @@ -653,6 +653,8 @@
22    echo "#define CONFIG_WIN32 1" >> $config_h
23  elif test -f "/usr/include/byteswap.h" ; then
24    echo "#define HAVE_BYTESWAP_H 1" >> $config_h
25 +elif test -f "/usr/include/machine/bswap.h" ; then
26 +  echo "#define HAVE_MACHINE_BSWAP_H 1" >> $config_h
27  fi
28  if test "$darwin" = "yes" ; then
29    echo "CONFIG_DARWIN=yes" >> $config_mak
30 @@ -716,9 +718,6 @@
31    echo "VPATH=$source_path" >> $config_mak
32  fi
33  echo "TARGET_DIRS=$target_list" >> $config_mak
34 -if [ "$build_docs" = "yes" ] ; then
35 -  echo "BUILD_DOCS=yes" >> $config_mak
36 -fi
37  if [ "$build_acpi_tables" = "yes" ] ; then
38    echo "BUILD_ACPI_TABLES=yes" >> $config_mak
39  fi