The attached patch (a bit rough, I admit) improves support for FreeBSD (but the same will apply to Open, Net and DragonFly when we'll have them) so that the libc version is automatically selected depending on the version in the target string. Also, it supports "extradepends" that are installed to allow building the crosscompiler.. in fbsd case, you need pmake and freebsd-mk-defs. This is the rough part, as I didn't code a function to get the logs and I simply output on stdout/stderr right now. Tell me what you think about this so I can see to refine it if you're willing to accept it :P
Created attachment 100239 [details, diff] The crossdev patch
the 2nd hunk you obviously didnt mean to post ... initialize EXTRADEPS properly and such and patch should be fine