This program uses c++ to build, so it needs to use CXXFLAGS. While switching those in order to pick up external c++ flags, relocate the WRKSRC definition to please portlint.