--- /usr/portage/eclass-old/cmake-utils.eclass 2017-02-28 19:50:50.000000000 +++ /usr/portage/eclass/cmake-utils.eclass 2017-03-03 18:18:45.513930741 @@ -606,6 +606,7 @@ cat > "${common_config}" <<- _EOF_ || die SET (CMAKE_GENTOO_BUILD ON CACHE BOOL "Indicate Gentoo package build") SET (LIB_SUFFIX ${libdir/lib} CACHE STRING "library path suffix" FORCE) + SET (CMAKE_FIND_LIBRARY_CUSTOM_LIB_SUFFIX "${libdir/lib}" CACHE STRING "") SET (CMAKE_INSTALL_LIBDIR ${libdir} CACHE PATH "Output directory for libraries") _EOF_ [[ "${NOCOLOR}" = true || "${NOCOLOR}" = yes ]] && echo 'SET (CMAKE_COLOR_MAKEFILE OFF CACHE BOOL "pretty colors during make" FORCE)' >> "${common_config}"