Created attachment 310469 [details] Let FindPkgConfig.cmake respect PKG_CONFIG I have reported this issue to upstream.
Thanks for the report and the patch. It looks good. @kde: also report this patch upstream.
Thank you for the patch. It is included in the cmake-2.8.8 masked version in kde overlay and will be moved to tree together.
It's patch is also important to me :)
Thanks you all. + 02 May 2012; Johannes Huber <johu@gentoo.org> +cmake-2.8.8-r1.ebuild, + +files/cmake-2.8.8-FindPkgConfig.patch, + +files/cmake-2.8.8-more-no_host_paths.patch, +files/cmake-2.8.8-tests.patch: + Version bump by me and Chris Reffett <geekboy72@gmail.com> wrt bug #412925. + Adds patch for FindPkgConfig to respect PKG_CONFIG environment variable by + DaboD <daiderek@gmail.com> bug #414037.