commit:     b5ca9f41113568d3687c1fb24bde824e8044a7ee
Author:     Mart Raudsepp <leio <AT> gentoo <DOT> org>
AuthorDate: Mon Dec 17 16:29:03 2018 +0000
Commit:     Mart Raudsepp <leio <AT> gentoo <DOT> org>
CommitDate: Mon Dec 17 16:29:28 2018 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b5ca9f41

dev-libs/glib: fix build without dev-util/gtk-doc

Closes: https://bugs.gentoo.org/673336
Signed-off-by: Mart Raudsepp <leio <AT> gentoo.org>
Package-Manager: Portage-2.3.52, Repoman-2.3.11

 dev-libs/glib/glib-2.58.1.ebuild | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/dev-libs/glib/glib-2.58.1.ebuild b/dev-libs/glib/glib-2.58.1.ebuild
index 5d7bc1f6a95..20eae2bd2eb 100644
--- a/dev-libs/glib/glib-2.58.1.ebuild
+++ b/dev-libs/glib/glib-2.58.1.ebuild
@@ -128,6 +128,12 @@ src_prepare() {
        # gdbus-codegen is a separate package
        eapply "${FILESDIR}"/${PN}-2.54.3-external-gdbus-codegen.patch
 
+       # Tarball doesn't come with gtk-doc.make and we can't unconditionally 
depend on dev-util/gtk-doc due
+       # to circular deps during bootstramp. If actually not building gtk-doc, 
an empty file will do fine as
+       # well - this is also what upstream autogen.sh does if gtkdocize is not 
found. If gtk-doc is installed,
+       # eautoreconf will call gtkdocize, which overwrites the empty 
gtk-doc.make with a full copy.
+       touch gtk-doc.make
+
        gnome2_src_prepare
        epunt_cxx
 }

Reply via email to