A few days ago, I did a test bulk build on amd64 with gcc, g++, and libstdc++ removed from the system. Ports should not use these any longer on clang platforms.
security/ghidra failed to build right away since it has stdc++ in WANTLIB. Further testing shows: * If you build ghidra on a system where gcc/g++/libstdc++ are available, it does indeed link something against libstdc++ and port-lib-depends-check indicates WANTLIB+=stdc++. * If you build ghidra on a system where gcc/g++/libstdc++ are NOT available, it still builds fine, something is linked against libc++/libc++abi/pthread and port-lib-depends-check consequently indicates WANTLIB+=${COMPILER_LIBCXX}. There must be some magic in the build where it first tries to use g++ and falls back to c++. Unfortunately, the actual build commands are hidden and the build is run by some Java tool, so it's not obvious what's going on. The port should honor CXX or at least not use g++. Maybe Lawrence or somebody else can take a look... -- Christian "naddy" Weisgerber na...@mips.inka.de