> It turns out that I have to put > CC=clang > in my mk.conf. Otherwise despite PKGSRC_COMPILER=clang in mk.conf and export > CC=clang, during the install phase, $CC will be gcc. Have you set CLANGBASE=/usr or CLANGBASE=/Developer/usr ?