Bug 196983

Summary: cad/meshlab: Doesn't not respect CC
Product: Ports & Packages Reporter: Sean Bruno <sbruno>
Component: Individual Port(s)Assignee: freebsd-kde (group) <kde>
Status: Closed Not A Bug    
Severity: Affects Only Me CC: thierry
Priority: --- Keywords: needs-qa
Version: Latest   
Hardware: Any   
OS: Any   
URL: http://chips.ysv.freebsd.org/data/11armv6-11armv6/2015-01-19_15h28m19s/logs/meshlab-1.3.2_3.log

Description Sean Bruno freebsd_committer freebsd_triage 2015-01-22 01:38:42 UTC
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
Comment 1 Thierry Thomas freebsd_committer freebsd_triage 2015-01-25 18:19:10 UTC
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?
Comment 2 Sean Bruno freebsd_committer freebsd_triage 2015-02-18 15:47:14 UTC
I need to ponder QMAKE a bit and see what can be done to deal with what I am doing.