pkgsrc/emulators/qemu/patches/patch-ag
wiz 7e1c5bfbc9 Convert aalib to options framework, adding an 'x11' option, and remove
aalib-x11 and aview-x11.
SDL dependencies change, so bump PKGREVISION (and BUILDLINK_RECOMMENDED)
for affected packages.

Addresses PR 32046 by Leonard Schmidt.
2005-12-11 09:40:37 +00:00

22 lines
725 B
Text

$NetBSD: patch-ag,v 1.4 2005/12/11 09:40:39 wiz Exp $
--- configure.orig 2005-09-04 17:11:31.000000000 +0000
+++ configure
@@ -366,7 +366,7 @@ else
if test -z "$prefix" ; then
prefix="/usr/local"
fi
-mandir="$prefix/share/man"
+mandir="$prefix/man"
datadir="$prefix/share/qemu"
docdir="$prefix/share/doc/qemu"
bindir="$prefix/bin"
@@ -539,6 +539,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