--- /home/ka0ttic/gentoo-x86/dev-cpp/libxmlpp/libxmlpp-2.8.0.ebuild 2005-02-27 15:03:56.000000000 -0500 +++ libxmlpp-2.10.0.ebuild 2005-04-23 11:09:56.000000000 -0400 @@ -4,7 +4,7 @@ IUSE="doc" -inherit gnome2 +inherit gnome2 eutils MY_P=${P/pp/++} S=${WORKDIR}/${MY_P} @@ -26,6 +26,16 @@ MAKEOPTS="${MAKEOPTS} -j1" +src_unpack() { + unpack ${A} + cd ${S} + epatch ${FILESDIR}/${P}-use-correct-callback.diff + + # don't waste time building the examples + sed -i 's/^\(SUBDIRS =.*\)examples\(.*\)$/\1\2/' Makefile.in || \ + die "sed Makefile.in failed" +} + src_compile() { gnome2_src_compile if use doc ; then @@ -36,6 +46,7 @@ src_install() { gnome2_src_install + rm -fr ${D}/usr/share/doc/libxml++* use doc && dohtml docs/reference/${PV%.*}/html/* }