>if pkg-config xft >then > CXXFLAGS="${CXXFLAGS} -I/usr/include/freetype2" >fi This fails for my systems, as pkg-config isn't installed and not listed in DEPEND. Either add pkg-config to DEPEND, or change that test to something else.
that kind of code should never be in global scope ... so while thats being fixed up, please move that code to src_compile and change the CXXFLAGS= to append-flags ...
nice catch, fixed in cvs.