Don't force the use of clang. Instead, use the compiler MacPorts specified.
--- build.sh.orig	2020-10-11 14:23:10.000000000 -0500
+++ build.sh	2020-11-15 19:09:48.000000000 -0600
@@ -45,7 +45,6 @@
 	plat_files="$plat_files ../src/compat/dummy.c"
 	plat_files="$plat_files ../src/compat/clearenv.c "
 	plat_cflags="$plat_cflags -include ../src/compat/macosx.h"
-	CC=clang
 	;;
 	FreeBSD)
 	plat_files="$plat_files ../src/compat/dummy.c"
