blob: a55797a831d17dce94766cb0d58c333328299e8f (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
|
$NetBSD: patch-ao,v 1.3 2009/03/31 17:37:37 bouyer Exp $
--- ioemu/configure.orig 2008-04-25 15:03:12.000000000 +0200
+++ ioemu/configure 2009-03-31 17:41:22.000000000 +0200
@@ -513,11 +513,11 @@
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"
+docdir="$prefix/share/doc/xen"
+bindir="$prefix/libexec"
+configdir="/usr/pkg/etc/xen"
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
@@ -716,9 +718,6 @@
echo "VPATH=$source_path" >> $config_mak
fi
echo "TARGET_DIRS=$target_list" >> $config_mak
-if [ "$build_docs" = "yes" ] ; then
- echo "BUILD_DOCS=yes" >> $config_mak
-fi
if [ "$build_acpi_tables" = "yes" ] ; then
echo "BUILD_ACPI_TABLES=yes" >> $config_mak
fi
|