On my machine I had xcode installed, but still had the command line tools selected. This causes the build to fail when configuring LLVM. If it is a requirement to have xcode installed and selected it would be good to detect that up front and inform the user how to fix the problem.
Vanilla LLVM is building for me without issues with just the command line tool though, so not sure why there is an error in your port.