Please perform an exp-run with the patch from https://reviews.freebsd.org/D1932 applied. This patch removes the "CC" alias for "c++". I know that at least CMake seems to prefer "CC" over "c++", but if the former does not exist at all, it should choose the latter instead. There may be other programs that change their configure or build behavior due to this change.
Take for exp-run
Exp-run results: http://package23.nyi.freebsd.org/jail.html?mastername=headi386PR200475-default http://package22.nyi.freebsd.org/jail.html?mastername=headamd64PR200475-default 5 new failures: + {"origin"=>"converters/tuc", "pkgname"=>"tuc-1.10", "phase"=>"build", "errortype"=>"???"} + {"origin"=>"math/rapid", "pkgname"=>"rapid-2.01", "phase"=>"build", "errortype"=>"???"} + {"origin"=>"misc/felis", "pkgname"=>"felis-1.0", "phase"=>"build", "errortype"=>"???"} + {"origin"=>"print/pfbtopfa", "pkgname"=>"pfbtopfa-1.0", "phase"=>"build", "errortype"=>"???"} + {"origin"=>"textproc/kenlm", "pkgname"=>"kenlm-20140830", "phase"=>"build", "errortype"=>"???"} Failure logs: http://package22.nyi.freebsd.org/data/headamd64PR200475-default/2015-05-28_21h16m37s/logs/errors/tuc-1.10.log http://package22.nyi.freebsd.org/data/headamd64PR200475-default/2015-05-28_21h16m37s/logs/errors/rapid-2.01.log http://package22.nyi.freebsd.org/data/headamd64PR200475-default/2015-05-28_21h16m37s/logs/errors/felis-1.0.log http://package22.nyi.freebsd.org/data/headamd64PR200475-default/2015-05-28_21h16m37s/logs/errors/pfbtopfa-1.0.log http://package22.nyi.freebsd.org/data/headamd64PR200475-default/2015-05-28_21h16m37s/logs/errors/kenlm-20140830.log For converters/tuc, misc/felis and print/pfbtopfa, CC is used where it seems ${CC} is wanted. math/rapid and textproc/kenlm may be able to use ${CXX} instead of CC
Submitted bug 200522 for converters/tuc.
Submitted bug 200523 for misc/felis.
Submitted bug 200524 for print/pfbtopfa.
Submitted bug 200525 for math/rapid.
Submitted bug 200527 for textproc/kenlm.
A commit references this bug: Author: dim Date: Fri May 29 21:19:56 UTC 2015 New revision: 387891 URL: https://svnweb.freebsd.org/changeset/ports/387891 Log: In PR200475, it turned out math/rapid is using "CC" to compile C++ files. Make it use ${CXX} instead. Approved by: jwbacon@tds.net (maintainer) PR: 200475, 200525 Changes: head/math/rapid/files/patch-Makefile
A commit references this bug: Author: dim Date: Fri May 29 21:32:44 UTC 2015 New revision: 387893 URL: https://svnweb.freebsd.org/changeset/ports/387893 Log: In PR200475, it turned out textproc/kenlm is using "CC" to do a sanity check at bootstrap time. Make it use ${CXX} instead. Approved by: demon (maintainer) PR: 200475, 200527 Changes: head/textproc/kenlm/files/patch-jam-files-sanity.jam
Closing this bug now, as all sub-bugs have been fixed. Now /usr/bin/CC is no longer necessary! :-)