summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMart Raudsepp <leio@gentoo.org>2018-12-17 18:29:03 +0200
committerMart Raudsepp <leio@gentoo.org>2018-12-17 18:29:28 +0200
commitb5ca9f41113568d3687c1fb24bde824e8044a7ee (patch)
tree06b6c8c590e6e656f8cc05c3eea634e4b23a1d8b /dev-libs/glib
parentnet-wireless/aircrack-ng: bump to 1.5.2 (diff)
downloadgentoo-b5ca9f41113568d3687c1fb24bde824e8044a7ee.tar.gz
gentoo-b5ca9f41113568d3687c1fb24bde824e8044a7ee.tar.bz2
gentoo-b5ca9f41113568d3687c1fb24bde824e8044a7ee.zip
dev-libs/glib: fix build without dev-util/gtk-doc
Closes: https://bugs.gentoo.org/673336 Signed-off-by: Mart Raudsepp <leio@gentoo.org> Package-Manager: Portage-2.3.52, Repoman-2.3.11
Diffstat (limited to 'dev-libs/glib')
-rw-r--r--dev-libs/glib/glib-2.58.1.ebuild6
1 files changed, 6 insertions, 0 deletions
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
}