summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'media-libs/libdvdcss/files/libdvdcss-1.2.9-doc.patch')
-rw-r--r--media-libs/libdvdcss/files/libdvdcss-1.2.9-doc.patch21
1 files changed, 21 insertions, 0 deletions
diff --git a/media-libs/libdvdcss/files/libdvdcss-1.2.9-doc.patch b/media-libs/libdvdcss/files/libdvdcss-1.2.9-doc.patch
new file mode 100644
index 000000000000..509fcdc928ae
--- /dev/null
+++ b/media-libs/libdvdcss/files/libdvdcss-1.2.9-doc.patch
@@ -0,0 +1,21 @@
+--- libdvdcss-1.2.9/configure.ac 2005-07-11 14:08:21.000000000 +0200
++++ libdvdcss-1.2.9-doc/configure.ac 2005-07-14 11:26:22.140795184 +0200
+@@ -191,9 +191,16 @@
+ dnl
+ dnl Shall we build documentation?
+ dnl
+-AC_PATH_PROG(DOXYGEN, doxygen, no)
++AC_ARG_ENABLE([doc], AC_HELP_STRING([--disable-doc], [Don't build API documentation with Doxygen]))
++
++if test "x$enable_doc" != "xno"; then
++ AC_PATH_PROG(DOXYGEN, doxygen, no)
++ AC_PATH_PROG(LATEX, latex, no)
++else
++ DOXYGEN="no"
++ LATEX="no"
++fi
+ AM_CONDITIONAL(DOXYGEN, test "${DOXYGEN}" != "no")
+-AC_PATH_PROG(LATEX, latex, no)
+ AM_CONDITIONAL(LATEX, test "${LATEX}" != "no")
+
+ AC_OUTPUT([