summaryrefslogtreecommitdiff
path: root/dev-libs/libindicate/files/libindicate-0.4.4-optional-doc.patch
diff options
context:
space:
mode:
authorDennis Schridde <devurandom@gmx.net>2011-02-05 22:41:15 +0100
committerDennis Schridde <devurandom@gmx.net>2011-02-05 22:41:15 +0100
commit2579ba6fc74c17d300b74db72182b027efdabcc8 (patch)
tree5d8d3410b20453087ee4771770a4d712a592f9a1 /dev-libs/libindicate/files/libindicate-0.4.4-optional-doc.patch
parent890bf2bd501ac2088077d6bf4bbde6bd4a1f482e (diff)
downloadkde-2579ba6fc74c17d300b74db72182b027efdabcc8.tar.gz
kde-2579ba6fc74c17d300b74db72182b027efdabcc8.tar.bz2
kde-2579ba6fc74c17d300b74db72182b027efdabcc8.zip
[dev-libs/libindicate] Improve patches based on upstream request, revbump
(Portage version: 2.2.0_alpha20/git/Linux x86_64, signed Manifest commit with key 50ED256E)
Diffstat (limited to 'dev-libs/libindicate/files/libindicate-0.4.4-optional-doc.patch')
-rw-r--r--dev-libs/libindicate/files/libindicate-0.4.4-optional-doc.patch18
1 files changed, 14 insertions, 4 deletions
diff --git a/dev-libs/libindicate/files/libindicate-0.4.4-optional-doc.patch b/dev-libs/libindicate/files/libindicate-0.4.4-optional-doc.patch
index 857bc7acd23..13c09f90fc8 100644
--- a/dev-libs/libindicate/files/libindicate-0.4.4-optional-doc.patch
+++ b/dev-libs/libindicate/files/libindicate-0.4.4-optional-doc.patch
@@ -6,19 +6,29 @@
+AC_ARG_ENABLE([doc],
+ AC_HELP_STRING([--disable-doc], [Disable doc generation]),
-+ [enable_doc=$enableval], enable_doc=auto)
++ [enable_doc=$enableval], [enable_doc=auto])
+AM_CONDITIONAL([WANT_DOC], [test "x$enable_doc" != "xno"])
+
GTK_DOC_CHECK([1.4])
-+if test "x$enable_doc" != "xno" ; then
++AS_IF([test "x$enable_doc" != "xno"],[
GNOME_DOC_INIT
-+else
++],[
+# The initialisation is still needed for certain conditionals to be defined, just make it not output any error
+GNOME_DOC_INIT(,,[:])
-+fi
++])
GNOME_COMPILE_WARNINGS
##############################
+@@ -271,2 +281,7 @@
+- GObject Introspection: $enable_introspection
+-])
++ GObject Introspection: $enable_introspection
++])
++
++AM_COND_IF([HAVE_GNOME_DOC_UTILS],
++ [AC_MSG_NOTICE([ Documentation: yes])],
++ [AC_MSG_NOTICE([ Documentation: no])]
++)
--- Makefile.am.orig 2010-09-20 23:12:10.442903362 +0200
+++ Makefile.am 2010-09-20 23:27:12.557785756 +0200
@@ -1,2 +1,6 @@