aboutsummaryrefslogtreecommitdiffstats
path: root/emulators/qemu/files
diff options
context:
space:
mode:
authorJuergen Lock <nox@FreeBSD.org>2008-06-04 02:39:51 +0800
committerJuergen Lock <nox@FreeBSD.org>2008-06-04 02:39:51 +0800
commitde9d1ceb0ae335b5006557e8033e62fed9f2b63f (patch)
tree1acdc9382a7fbd4b067233a8e0b8ff33d68fb431 /emulators/qemu/files
parent049ad77ca2b3d90d42a4e6d3665e1954b6241012 (diff)
downloadfreebsd-ports-gnome-de9d1ceb0ae335b5006557e8033e62fed9f2b63f.tar.gz
freebsd-ports-gnome-de9d1ceb0ae335b5006557e8033e62fed9f2b63f.tar.zst
freebsd-ports-gnome-de9d1ceb0ae335b5006557e8033e62fed9f2b63f.zip
Fix NOPORTDOCS when texi2html is not installed
Found by: itetcu
Diffstat (limited to 'emulators/qemu/files')
-rw-r--r--emulators/qemu/files/patch-configure10
1 files changed, 10 insertions, 0 deletions
diff --git a/emulators/qemu/files/patch-configure b/emulators/qemu/files/patch-configure
new file mode 100644
index 000000000000..782062a27890
--- /dev/null
+++ b/emulators/qemu/files/patch-configure
@@ -0,0 +1,10 @@
+Index: qemu/configure
+@@ -689,7 +689,7 @@
+ fi # test "$curses"
+
+ # Check if tools are available to build documentation.
+-if [ -x "`which texi2html 2>/dev/null`" ] && \
++if [ "x$NOPORTDOCS" != "x" -o -x "`which texi2html 2>/dev/null`" ] && \
+ [ -x "`which pod2man 2>/dev/null`" ]; then
+ build_docs="yes"
+ fi