Created attachment 432368 [details] build.log Building sdl2-ttf fails with "cannot find -lGL" when media-libs/mesa is not installed. Installing mesa resolves this and allows it to build.
fixed; thanks for the bug report.