diff options
author | Juergen Lock <nox@FreeBSD.org> | 2008-06-04 02:39:51 +0800 |
---|---|---|
committer | Juergen Lock <nox@FreeBSD.org> | 2008-06-04 02:39:51 +0800 |
commit | de9d1ceb0ae335b5006557e8033e62fed9f2b63f (patch) | |
tree | 1acdc9382a7fbd4b067233a8e0b8ff33d68fb431 /emulators/qemu/files | |
parent | 049ad77ca2b3d90d42a4e6d3665e1954b6241012 (diff) | |
download | freebsd-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-configure | 10 |
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 |