I tries to install directadmin with custombuild 2 on a fresh FreeBSD 9.2.
PHP can not compile due to miss of gd library.
In fact, in freebsd 9, we can not install gd using this command:
pkg_add -r gd
As described in this page:
http://help.directadmin.com/item.php?id=354
(It returns a not found...