Hi, this is a really trivial bug concerning xerces-c-2.7.0-r1, but it's annoying anyway: If you use the "doc" use flag for dev-libs/xerces-c, the ebuild installs some html files (doxygen results) to /usr/share/doc/xerces-c-2.7.0-r1/ (with the revision) but the samples gets to /usr/share/doc/xerces-c-2.7.0/ (without the revision). Which is a little bit annoying, because you need the version.incl file to compile the samples and because of this you need to (first bunzip2 version.incl) move it to the samples folder and then to "export XERCESCROOT=/usr/share/doc/xerces-c-2.7.0/" and compile. In the ebuild... ----- snip ----- src_install () { export XERCESCROOT="${S}" cd "${S}"/src/xercesc emake DESTDIR="${D}" MLIBDIR=$(get_libdir) install || die "emake failed" if use doc; then dodir /usr/share/doc/${P} cp -pPR "${S}"/samples "${D}"/usr/share/doc/${P} cd "${S}"/doc; doxygen dohtml -r html fi cd "${S}" dodoc STATUS credits.txt version.incl dohtml Readme.html unset XERCESCROOT } ----- snap ----- ... you could change "cp -pPR "${S}"/samples "${D}"/usr/share/doc/${P}" to "cp -pPR "${S}"/samples "${D}"/usr/share/doc/${PF}" and (even better) compile the samples directly... Reproducible: Always Steps to Reproduce: Expected Results: It would be great, if the whole documentation is within a single folder and version.incl is usable from the beginning.
Fully agree with the install path. But I won't compile the stuff...