I think I’ve mentioned building DragonFly with clang before, but not pkgsrc. There’s two variables to set, plus some special handling for libf2c. Thomas Klausner has details. This is not tested on DragonFly.
The next trip report is from Thomas Abthorpe:
Third time is the charm. That is what is said when you have failed two times before and finally got it right on the third try. To put a more postive spin on it, the third time is the best one yet! I have been fortunate and privileged to travel to Ottawa