--- glib-2.30.1-r1.ebuild.orig 2011-10-28 13:05:19.146303969 +0200 +++ glib-2.30.1-r1.ebuild 2011-10-28 12:41:51.867449535 +0200 @@ -31,7 +31,8 @@ doc? ( >=dev-libs/libxslt-1.0 >=dev-util/gtk-doc-1.15 - ~app-text/docbook-xml-dtd-4.1.2 ) + ~app-text/docbook-xml-dtd-4.1.2 + >=dev-util/gdbus-codegen-${PV} ) systemtap? ( >=dev-util/systemtap-1.3 ) test? ( sys-devel/gdb @@ -111,6 +112,9 @@ # Handle the G_HOME environment variable to override the passwd entry, upstream bug #142568 epatch "${FILESDIR}/${PN}-2.30.1-homedir-env.patch" + # fix building w/ USE=doc (bug #387385) + epatch "${FILESDIR}/${PN}-2.30.1-doc-dependencies.patch" + # disable pyc compiling ln -sfn $(type -P true) py-compile