add patches for databases/tdb
fix build net/samba && change syntax in mk.conf