c49b6b0a4d
has not been updated for Xen, so it's not of much use anyway). Fix PLIST issues because the documentation was built only if texi2html was installed. Bump PKGREVISION
39 lines
1.2 KiB
Text
39 lines
1.2 KiB
Text
$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
|