It took me a while to figure out that this was possible in such an easy way:

sudo port install portname configure.compiler=clang

The list of possible values for configure.compiler is available here

Reference: Gcc and Clang library incompatibility