Created attachment 323044 [details, diff] patch for cmake-utils.eclass CMAKE_INSTALL_LIBDIR in gentoo_common_config.cmake is not prefixed, which is needed for example for dev-libs/pugixml.
Pushed to the overlay. http://git.overlays.gentoo.org/gitweb/?p=proj/kde.git;a=commit;h=efa380fce0f4d090ca3a7f6fbb1c6cd546fb6537
T think a better solution to that issue would be to simply set CMAKE_INSTALL_LIBDIR to $(get_libdir). CMake adds the current prefix automatically anyway and for case, where CMAKE_INSTALL_LIBDIR != ../usr/lib.. (like libexec) one will have to overwrite the default anyhow.
Thanks, updated in the overlay. http://git.overlays.gentoo.org/gitweb/?p=proj/kde.git;a=commit;h=f527a112c66b1e4a785efd6f2a9cfcb81b42f230
Thanks, moved to the main tree. + 20 Sep 2012; Michael Palimaka <kensington@gentoo.org> cmake-utils.eclass: + Add support for the ninja build system wrt bug #430608. Improve prefix + support wrt bug #434086.