Don't add --stdlib=libc++ to CXXFLAGS, Clang uses it by default and GCC can't use libc++. Don't set CC, CXX, CPP, those are set by the ports tree. Add a define for __ppc__. While here, pet portlint. PR: 236799 Submitted by: Piotr Kubaj Approved by: portmgr (tier-2 blanket)