Ports are supposed to honor the CC and CXX variables. (There are some exceptions such as perl and imake ports that pick up a central setting.) They are not supposed to have hardcoded compiler names. In particular they should not call "gcc" or "g++". Alas, this has never been strictly enfored, so numerous offenders have slipped in.
At least clang architectures will no longer have a /usr/bin/gcc or /usr/bin/g++. Fortunately, this is easy to test anywhere: just rm /usr/bin/gcc and /usr/bin/g++. You can hardlink them back afterwards. Here is a first batch of ports that fail to build without "gcc" or "g++" being present. More will come to light eventually. At the moment, failing dependencies prevent about a third of the ports tree from being built. audio/goattracker audio/mp3gain biology/nutdb chinese/crxvt comms/colrdx comms/owx comms/zmtx-zmrx converters/html2text converters/lastools converters/mimepp devel/arm-none-eabi/gcc-linaro devel/avr/gcc devel/boost devel/jsoncpp devel/libutf devel/premake4 devel/py-sip devel/pysvn devel/radare2/main editors/tweak emulators/sdlmame emulators/sdlmess games/blockrage games/capitan-sevilla games/einstein games/gemdropx games/icebreaker games/netris games/sdlpop games/teeworlds games/typespeed graphics/s10sh lang/ghc lang/libv8 lang/mruby lang/nim lang/ocaml lang/squeak/vm mail/archiveopteryx mail/bmf math/aamath math/libneural math/libtommath math/minisat math/suitesparse math/xspread misc/figlet misc/randtype misc/xd multimedia/avinfo net/clog net/ftpcopy net/osrtspproxy net/ssvnc net/vncsnapshot plan9/drawterm plan9/plan9port security/foremost security/ipguard security/p0f3 sysutils/incron telephony/astmanproxy textproc/heirloom-doctools textproc/libxmlbird textproc/pilot_makedoc textproc/rman textproc/wkhtmltopdf www/cntlm www/netsurf/netsurf-fb www/phantomjs www/swiggle x11/goggles x11/windowlab x11/xmold -- Christian "naddy" Weisgerber na...@mips.inka.de