mirror of
https://github.com/Stichting-MINIX-Research-Foundation/pkgsrc-ng.git
synced 2025-09-27 14:00:45 -04:00
43 lines
1.4 KiB
Plaintext
43 lines
1.4 KiB
Plaintext
$NetBSD: patch-qemu-xen-traditional_configure,v 1.3 2015/08/23 16:17:12 spz Exp $
|
|
|
|
--- qemu-xen-traditional/configure.orig 2014-01-09 12:44:42.000000000 +0000
|
|
+++ qemu-xen-traditional/configure
|
|
@@ -1089,7 +1089,7 @@ fi
|
|
# Check if tools are available to build documentation.
|
|
if [ -x "`which texi2html 2>/dev/null`" ] && \
|
|
[ -x "`which pod2man 2>/dev/null`" ]; then
|
|
- build_docs="yes"
|
|
+# build_docs="yes"
|
|
fi
|
|
|
|
##########################################
|
|
@@ -1124,7 +1124,7 @@ else
|
|
if test -z "$prefix" ; then
|
|
prefix="/usr/local"
|
|
fi
|
|
- mansuffix="/share/man"
|
|
+ mansuffix="/man"
|
|
datasuffix="/share/qemu"
|
|
docsuffix="/share/doc/qemu"
|
|
binsuffix="/bin"
|
|
@@ -1215,6 +1215,9 @@ echo "docdir=\${prefix}$docsuffix" >> $c
|
|
echo "#define CONFIG_QEMU_SHAREDIR \"$prefix$datasuffix\"" >> $config_h
|
|
echo "MAKE=$make" >> $config_mak
|
|
echo "INSTALL=$install" >> $config_mak
|
|
+echo "INSTALL_DIR=$install -d -m0755 -p" >> $config_mak
|
|
+echo "INSTALL_DATA=$install -d -m0644 -p" >> $config_mak
|
|
+echo "INSTALL_PROG=$install -d -m0755 -p" >> $config_mak
|
|
echo "CC=$cc" >> $config_mak
|
|
echo "HOST_CC=$host_cc" >> $config_mak
|
|
echo "AR=$ar" >> $config_mak
|
|
@@ -1492,7 +1495,9 @@ fi
|
|
# XXX: suppress that
|
|
if [ "$bsd" = "yes" ] ; then
|
|
echo "#define O_LARGEFILE 0" >> $config_h
|
|
+ echo "#ifndef MAP_ANONYMOUS" >> $config_h
|
|
echo "#define MAP_ANONYMOUS MAP_ANON" >> $config_h
|
|
+ echo "#endif" >> $config_h
|
|
echo "#define _BSD 1" >> $config_h
|
|
fi
|
|
|