=> Bootstrap dependency digest>=20010302: found digest-20111104
=> Bootstrap dependency fetch-[0-9]*: found fetch-1.7
===> Building for pam-ldap-186nb1
/usr/bin/make  all-am
make[1]: Entering directory `/tmp/pkgsrc/security/pam-ldap/work/pam_ldap-186'
if libtool  --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I.   -DLDAP_DEPRECATED -I/usr/pkg/include -I/usr/include -DLDAP_REFERRALS -DLDAP_DEPRECATED -D_REENTRANT -I/usr/pkg/include  -O3 -pipe -fstack-protector -DLDAP_DEPRECATED -I/usr/pkg/include -I/usr/include -Wall -fPIC -MT pam_ldap.lo -MD -MP -MF ".deps/pam_ldap.Tpo" -c -o pam_ldap.lo pam_ldap.c; \
then mv -f ".deps/pam_ldap.Tpo" ".deps/pam_ldap.Po"; else rm -f ".deps/pam_ldap.Tpo"; exit 1; fi
if libtool  --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I.   -DLDAP_DEPRECATED -I/usr/pkg/include -I/usr/include -DLDAP_REFERRALS -DLDAP_DEPRECATED -D_REENTRANT -I/usr/pkg/include  -O3 -pipe -fstack-protector -DLDAP_DEPRECATED -I/usr/pkg/include -I/usr/include -Wall -fPIC -MT md5.lo -MD -MP -MF ".deps/md5.Tpo" -c -o md5.lo md5.c; \
then mv -f ".deps/md5.Tpo" ".deps/md5.Po"; else rm -f ".deps/md5.Tpo"; exit 1; fi
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -DLDAP_DEPRECATED -I/tmp/pkgsrc/security/pam-ldap/work/.buildlink/include -DLDAP_REFERRALS -D_REENTRANT -O3 -pipe -fstack-protector -Wall -fPIC -MT md5.lo -MD -MP -MF .deps/md5.Tpo -c md5.c  -fPIC -DPIC -o .libs/md5.o
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -DLDAP_DEPRECATED -I/tmp/pkgsrc/security/pam-ldap/work/.buildlink/include -DLDAP_REFERRALS -D_REENTRANT -O3 -pipe -fstack-protector -Wall -fPIC -MT pam_ldap.lo -MD -MP -MF .deps/pam_ldap.Tpo -c pam_ldap.c  -fPIC -DPIC -o .libs/pam_ldap.o
pam_ldap.c: In function 'pam_sm_chauthtok':
pam_ldap.c:3728:16: error: 'PAM_AUTHTOK_RECOVERY_ERR' undeclared (first use in this function)
pam_ldap.c:3728:16: note: each undeclared identifier is reported only once for each function it appears in
make[1]: *** [pam_ldap.lo] Error 1
make[1]: *** Waiting for unfinished jobs....
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -DLDAP_DEPRECATED -I/tmp/pkgsrc/security/pam-ldap/work/.buildlink/include -DLDAP_REFERRALS -D_REENTRANT -O3 -pipe -fstack-protector -Wall -fPIC -MT md5.lo -MD -MP -MF .deps/md5.Tpo -c md5.c -o md5.o >/dev/null 2>&1
make[1]: Leaving directory `/tmp/pkgsrc/security/pam-ldap/work/pam_ldap-186'
make: *** [all] Error 2
*** Error code 2

Stop.
bmake: stopped in /usr/pkgsrc/security/pam-ldap
*** Error code 1

Stop.
bmake: stopped in /usr/pkgsrc/security/pam-ldap