Created attachment 462610 [details, diff] Copies cl.hpp for each version if available on src_install;Creates unversioned CL simlink to CL-1.2; On src_install, it tries to copy cl.hpp file for all supported versions (1.1 1.2 2.1) into single ABI directory, as the target directory uses variable iterating in for cycle already finished. On profile switch, it tries to fill implementation specific include files using default ones, supplied by eselect-opencl package. Sadly, it uses files in /usr/$(get_libdir)/OpenCL/global/include/CL, which does not exists, as only /usr/$(get_libdir)/OpenCL/global/include/CL-${OCL-ABI} directories are installed for specific versions of OpenCL, no dir without version. See patch for proposed solution (can be tested as app-eselect/eselect-opencl-1.1.0-r5::gamarouns) BTW please upgrade to EAPI6