spack/var/spack/repos/builtin/packages/cairo/disable-gtk-docs.patch
Seth R. Johnson 5971372be7
cairo: fix gtkdocize patch (#24332)
Patch in #23971 was not correct
2021-06-15 16:08:56 -07:00

18 lines
485 B
Diff

--- a/autogen.sh 2021-06-08 19:55:17.000000000 -0400
+++ b/autogen.sh 2021-06-08 19:58:29.000000000 -0400
@@ -13,13 +13,7 @@
exit 1
fi
-GTKDOCIZE=`which gtkdocize`
-if test -z $GTKDOCIZE; then
- echo "*** No GTK-Doc found, documentation won't be generated ***"
-else
- gtkdocize || exit $?
-fi
-
+export GTKDOCIZE=echo
# create dummy */Makefile.am.features and ChangeLog to make automake happy
> boilerplate/Makefile.am.features
> src/Makefile.am.features