summaryrefslogtreecommitdiff
path: root/dev-dotnet/notify-sharp/files/notify-sharp-0.4.0_pre20080912-control-docs.patch
diff options
context:
space:
mode:
Diffstat (limited to 'dev-dotnet/notify-sharp/files/notify-sharp-0.4.0_pre20080912-control-docs.patch')
-rw-r--r--dev-dotnet/notify-sharp/files/notify-sharp-0.4.0_pre20080912-control-docs.patch28
1 files changed, 28 insertions, 0 deletions
diff --git a/dev-dotnet/notify-sharp/files/notify-sharp-0.4.0_pre20080912-control-docs.patch b/dev-dotnet/notify-sharp/files/notify-sharp-0.4.0_pre20080912-control-docs.patch
new file mode 100644
index 000000000000..44ff05881fb4
--- /dev/null
+++ b/dev-dotnet/notify-sharp/files/notify-sharp-0.4.0_pre20080912-control-docs.patch
@@ -0,0 +1,28 @@
+diff -NrU5 notify-sharp-20080912.orig/configure.ac notify-sharp-20080912/configure.ac
+--- notify-sharp-20080912.orig/configure.ac 2008-11-26 21:56:02.000000000 +0100
++++ notify-sharp-20080912/configure.ac 2008-11-26 22:01:08.000000000 +0100
+@@ -34,16 +34,21 @@
+ if test "x$GACUTIL" = "xno"; then
+ AC_MSG_ERROR([You need to install gacutil])
+ fi
+ AC_SUBST(GACUTIL)
+
+-AC_ARG_ENABLE(docs, AC_HELP_STRING([--disable-docs],
+- [Do not build documentation]), with_docs=no, with_docs=yes)
++AC_ARG_ENABLE( [docs],
++ [AC_HELP_STRING( [--enable/disable-docs],
++ [Do (not) build documentation (default=yes)]
++ )],
++ [],
++ [enable_docs=yes]
++)
+
+ MONODOC_REQ_VERSION=1.1.18
+
+-if test "x$with_docs" = "xyes"; then
++if test "x$enable_docs" = "xyes"; then
+ PKG_CHECK_MODULES(MONODOC, monodoc >= $MONODOC_REQ_VERSION,,
+ [AC_MSG_ERROR([You need to install monodoc, or pass --disable-docs to configure to skip documentation installation])])
+ AC_PATH_PROG(MONODOCER, monodocer, no)
+ if test "x$MONODOCER" = "xno"; then
+ AC_MSG_ERROR([You need to install monodoc, or pass --disable-docs to configure to skip documentation installation])