On sparc and two different amd64 systems, build of sci-physics/root-5.22.00 fails thus: ===================================== graf3d/gl/src/TGLFontManager.cxx:24:24: error: FTGL/ftgl.h: No such file or directory graf3d/gl/src/TGLFontManager.cxx: In member function ‘void TGLFont::BBox(const char*, Float_t&, Float_t&, Float_t&, Float_t&, Float_t&, Float_t&) const’: graf3d/gl/src/TGLFontManager.cxx:110: error: invalid use of undefined type ‘struct FTFont’ include/TGLFontManager.h:20: error: forward declaration of ‘struct FTFont’ graf3d/gl/src/TGLFontManager.cxx: In member function ‘void TGLFont::Render(const char*) const’: graf3d/gl/src/TGLFontManager.cxx:128: error: invalid use of undefined type ‘struct FTFont’ include/TGLFontManager.h:20: error: forward declaration of ‘struct FTFont’ graf3d/gl/src/TGLFontManager.cxx: In destructor ‘virtual TGLFontManager::~TGLFontManager()’: graf3d/gl/src/TGLFontManager.cxx:243: warning: possible problem detected in invocation of delete operator: graf3d/gl/src/TGLFontManager.cxx:243: warning: invalid use of undefined type ‘struct FTFont’ include/TGLFontManager.h:20: warning: forward declaration of ‘struct FTFont’ graf3d/gl/src/TGLFontManager.cxx:243: note: neither the destructor nor the class-specific operator delete will be called, even if they are declared when the class is defined. graf3d/gl/src/TGLFontManager.cxx: In member function ‘void TGLFontManager::RegisterFont(Int_t, Int_t, TGLFont::EMode, TGLFont&)’: graf3d/gl/src/TGLFontManager.cxx:272: error: expected type-specifier before ‘FTGLBitmapFont’ graf3d/gl/src/TGLFontManager.cxx:272: error: cannot convert ‘int*’ to ‘FTFont*’ in assignment graf3d/gl/src/TGLFontManager.cxx:272: error: expected `;' before ‘FTGLBitmapFont’ graf3d/gl/src/TGLFontManager.cxx:275: error: expected type-specifier before ‘FTGLPixmapFont’ graf3d/gl/src/TGLFontManager.cxx:275: error: cannot convert ‘int*’ to ‘FTFont*’ in assignment graf3d/gl/src/TGLFontManager.cxx:275: error: expected `;' before ‘FTGLPixmapFont’ ====================================== and so on. This file should come from media-libs/ftgl, but its actual name is FTGL/FTGL.h, not FTGL/ftgl.h with the ftgl-2.1.2 series. The problem is that root-5.22.00 needs to depend on something like >=media-libs/ftgl-2.1.3 instead of just media-libs/ftgl because -2.1.3 rearranges include/FTGL for user "convenience".
fixed dependency, thanks.