From b5ca9f41113568d3687c1fb24bde824e8044a7ee Mon Sep 17 00:00:00 2001 From: Mart Raudsepp Date: Mon, 17 Dec 2018 18:29:03 +0200 Subject: [PATCH] dev-libs/glib: fix build without dev-util/gtk-doc Closes: https://bugs.gentoo.org/673336 Signed-off-by: Mart Raudsepp 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 5d7bc1f6a954..20eae2bd2ebb 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 } -- 2.26.2