===> samba4-4.0.21 depends on shared library: libldap-2.4.so.2 - found (/usr/local/lib/libldap-2.4.so.2.10.2)
===> Configuring for samba4-4.0.21
===> FreeBSD 10 autotools fix applied to /usr/ports/net/samba4/work/samba-4.0.21/configure
===> FreeBSD 10 autotools fix applied to /usr/ports/net/samba4/work/samba-4.0.21/docs-xml/aclocal.m4
===> FreeBSD 10 autotools fix applied to /usr/ports/net/samba4/work/samba-4.0.21/examples/VFS/configure
===> FreeBSD 10 autotools fix applied to /usr/ports/net/samba4/work/samba-4.0.21/lib/ldb/configure
===> FreeBSD 10 autotools fix applied to /usr/ports/net/samba4/work/samba-4.0.21/lib/ntdb/configure
===> FreeBSD 10 autotools fix applied to /usr/ports/net/samba4/work/samba-4.0.21/lib/replace/configure
===> FreeBSD 10 autotools fix applied to /usr/ports/net/samba4/work/samba-4.0.21/lib/talloc/configure
===> FreeBSD 10 autotools fix applied to /usr/ports/net/samba4/work/samba-4.0.21/lib/tdb/configure
===> FreeBSD 10 autotools fix applied to /usr/ports/net/samba4/work/samba-4.0.21/lib/tevent/configure
===> FreeBSD 10 autotools fix applied to /usr/ports/net/samba4/work/samba-4.0.21/source3/m4/aclocal.m4
===> FreeBSD 10 autotools fix applied to /usr/ports/net/samba4/work/samba-4.0.21/source3/configure
autoconf-2.69: error: no input file
*** Error code 1
Stop.
make[1]: stopped in /usr/ports/net/samba4
*** Error code 1
Stop.
make: stopped in /usr/ports/net/samba4