Ah, it was even worse than the first quick look. Try adding do-compile: gmake CC=${CXX} in the ports Makefile instead of CC=c++ ( which I guess should have been CC=${CXX} anyway ) Best regards Andreas