Gentoo Archives: gentoo-commits

From: "Peter Alfredsen (loki_val)" <loki_val@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in dev-dotnet/notify-sharp/files: notify-sharp-0.4.0_pre20080912-control-docs.patch
Date: Wed, 26 Nov 2008 21:17:19
Message-Id: E1L5Rl7-0007sf-Rz@stork.gentoo.org
1 loki_val 08/11/26 21:17:17
2
3 Added: notify-sharp-0.4.0_pre20080912-control-docs.patch
4 Log:
5 Fix documentation generation, bug 248944.
6 (Portage version: 2.2_rc16/cvs/Linux 2.6.28-rc4 x86_64)
7
8 Revision Changes Path
9 1.1 dev-dotnet/notify-sharp/files/notify-sharp-0.4.0_pre20080912-control-docs.patch
10
11 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-dotnet/notify-sharp/files/notify-sharp-0.4.0_pre20080912-control-docs.patch?rev=1.1&view=markup
12 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-dotnet/notify-sharp/files/notify-sharp-0.4.0_pre20080912-control-docs.patch?rev=1.1&content-type=text/plain
13
14 Index: notify-sharp-0.4.0_pre20080912-control-docs.patch
15 ===================================================================
16 diff -NrU5 notify-sharp-20080912.orig/configure.ac notify-sharp-20080912/configure.ac
17 --- notify-sharp-20080912.orig/configure.ac 2008-11-26 21:56:02.000000000 +0100
18 +++ notify-sharp-20080912/configure.ac 2008-11-26 22:01:08.000000000 +0100
19 @@ -34,16 +34,21 @@
20 if test "x$GACUTIL" = "xno"; then
21 AC_MSG_ERROR([You need to install gacutil])
22 fi
23 AC_SUBST(GACUTIL)
24
25 -AC_ARG_ENABLE(docs, AC_HELP_STRING([--disable-docs],
26 - [Do not build documentation]), with_docs=no, with_docs=yes)
27 +AC_ARG_ENABLE( [docs],
28 + [AC_HELP_STRING( [--enable/disable-docs],
29 + [Do (not) build documentation (default=yes)]
30 + )],
31 + [],
32 + [enable_docs=yes]
33 +)
34
35 MONODOC_REQ_VERSION=1.1.18
36
37 -if test "x$with_docs" = "xyes"; then
38 +if test "x$enable_docs" = "xyes"; then
39 PKG_CHECK_MODULES(MONODOC, monodoc >= $MONODOC_REQ_VERSION,,
40 [AC_MSG_ERROR([You need to install monodoc, or pass --disable-docs to configure to skip documentation installation])])
41 AC_PATH_PROG(MONODOCER, monodocer, no)
42 if test "x$MONODOCER" = "xno"; then
43 AC_MSG_ERROR([You need to install monodoc, or pass --disable-docs to configure to skip documentation installation])