Set CC to clang++

Steven Smith steve.t.smith at
Thu Nov 21 22:35:14 UTC 2019

I must set the clang compiler to clang++ or g++ to avoid some ld symbol mangling issue (see below).

What’s the right Portfile directive to do this?

Effectively, I believe that I need:


Error on the Mac: Undefined symbols for architecture x86_64 · Issue #285 · nlohmann/json
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 3898 bytes
Desc: not available
URL: <>

More information about the macports-dev mailing list