--- Makefile.orig 2011-12-03 09:45:42.000000000 -0900 +++ Makefile 2011-12-18 13:35:40.000000000 -0900 @@ -58,6 +58,8 @@ ${WRKSRC}/ldap.conf @${REINPLACE_CMD} 's,/etc/ldap\.,${PREFIX}/etc/nss_ldap.,g' \ ${WRKSRC}/${MAN5} + @${REINPLACE_CMD} 's,#!/usr/bin/perl,#!${PERL5},' \ + ${WRKSRC}/vers_string # XXX: newer autoconf's rely on the compiler result, not the preprocessor # for checking headers, so the configure.in needs to be fixed upstream