Noted in cross build environment where we use /nxb-bin/usr/bin/ for compilation. This port is hardcoding clang++ and picking up /usr/bin even thought CPP=/nxb-bin/usr/bin/cpp
It seems that cad/meshlab is not the culprit, but it uses devel/qmake4, which sets QMAKESPEC this way: /usr/local/share/qt4/mkspecs/freebsd-$(ccver="$(c++ --version)"; case "$ccver" in *clang*) echo clang ;; *) echo g++ ;; esac) kde team: could you please check if cross-building is supported?
I need to ponder QMAKE a bit and see what can be done to deal with what I am doing.