starting from 3.8 dev-util/cmake requires libuv. But, in fact, cmake only needs libuv for the "server mode": https://cmake.org/cmake/help/v3.7/manual/cmake-server.7.html cmake(1) is capable of providing semantic information about CMake code it executes to generate a buildsystem. If executed with the -E server command line options, it starts in a long running mode and allows a client to request the available information via a JSON protocol. And this "server mode" is very rarely needed. Suggested fix: add a USE flag (e.g. "server") that will configure cmake with -DCMake_ENABLE_SERVER_MODE=ON -DCMAKE_USE_LIBUV=ON withour this USE flag, values should be OFF. (CMake_ENABLE_SERVER_MODE setting is redundant, it'll be automatically set from CMAKE_USE_LIBUV, but having it makes the mode more explicit). And libuv should only be a dependency when the server mode is enabled.
commit 31c96e6a0a9b9f4eb722878519810c51b1ac4087 Author: Lars Wendler <polynomial-c@gentoo.org> Date: Fri Apr 28 10:03:02 2017 dev-util/cmake: Put cmake-server behind a USE flag (bug #616810). This should also fix the bootstrapping issue reported in bug #603012. Package-Manager: Portage-2.3.5, Repoman-2.3.2