summaryrefslogtreecommitdiff
path: root/emulators/qemu-devel/files/patch-configure
diff options
context:
space:
mode:
Diffstat (limited to 'emulators/qemu-devel/files/patch-configure')
-rw-r--r--emulators/qemu-devel/files/patch-configure41
1 files changed, 24 insertions, 17 deletions
diff --git a/emulators/qemu-devel/files/patch-configure b/emulators/qemu-devel/files/patch-configure
index 1014b55f4776..b10a590664f3 100644
--- a/emulators/qemu-devel/files/patch-configure
+++ b/emulators/qemu-devel/files/patch-configure
@@ -1,22 +1,20 @@
-Index: qemu/configure
-@@ -1605,17 +1605,18 @@
+--- a/configure
++++ a/configure
+@@ -285,7 +285,7 @@ bigendian="no"
+ mingw32="no"
+ EXESUF=""
+ prefix="/usr/local"
+-mandir="\${prefix}/share/man"
++mandir="\${prefix}/man"
+ datadir="\${prefix}/share/qemu"
+ docdir="\${prefix}/share/doc/qemu"
+ bindir="\${prefix}/bin"
+@@ -1964,15 +1964,18 @@ if compile_prog "" "" ; then
fi
# Check if tools are available to build documentation.
--if test "$docs" != "no" ; then
-- if test -x "`which texi2html 2>/dev/null`" -a \
-- -x "`which pod2man 2>/dev/null`" ; then
-- docs=yes
-- else
-- if test "$docs" = "yes" ; then
-- feature_not_found "docs"
-- fi
-- docs=no
-- fi
--fi
+#if test "$docs" != "no" ; then
-+# if test -x "`which texi2html 2>/dev/null`" -a \
-+# -x "`which pod2man 2>/dev/null`" ; then
++# if has makeinfo && has pod2man; then
+# docs=yes
+# else
+# if test "$docs" = "yes" ; then
@@ -25,7 +23,16 @@ Index: qemu/configure
+# docs=no
+# fi
+#fi
-+docs=yes
+ if test "$docs" != "no" ; then
+- if has makeinfo && has pod2man; then
+- docs=yes
+- else
+- if test "$docs" = "yes" ; then
+- feature_not_found "docs"
+- fi
+- docs=no
+- fi
++ docs=yes
+ fi
# Search for bswap_32 function
- byteswap_h=no