Created attachment 407626 [details, diff] cmake-utils.eclass-docdir.patch Hello, cmake allows to specify default docs installation directory (analogue of --docdir for configure script), but cmake-utils.eclass does nothing in this regard and many ebuilds in tree contain the same duplicated code: -DCMAKE_INSTALL_DOCDIR=/usr/share/doc/${PF} I propose to add this to the eclass, thus ebuilds can be simplified. See attached patch.
It looks good to me but i would prefer if you send the patch to -dev ml to get a wider review.
Done.
I responded on the mailing list why I disagree with the patch.
For the record, my response was as follows: I count four packages using this option, with three different values being passed. Use of CMAKE_INSTALL_DOCDIR is not standardised, and may behave unpredictably between different packages. As there were no further responses/discussion, I don't think we can proceed.