Remember to use WikiFormatting and TracLinks.
The error in the log is just:
:info:build Undefined symbols for architecture x86_64:
:info:build "_libiconv_close", referenced from:
:info:build _decode_rfc2047 in libmh.a(sbr_libmh_a-fmt_rfc2047.o)
:info:build "_libiconv_open", referenced from:
:info:build _decode_rfc2047 in libmh.a(sbr_libmh_a-fmt_rfc2047.o)
:info:build "_libiconv", referenced from:
:info:build _decode_rfc2047 in libmh.a(sbr_libmh_a-fmt_rfc2047.o)
:info:build ld: symbol(s) not found for architecture x86_64
So instead of changing the compiler, we should just make sure "-L${prefix}/lib" gets into LDFLAGS.