aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--net/nss_ldap/Makefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/net/nss_ldap/Makefile b/net/nss_ldap/Makefile
index f0fa322a6203..5db0b067c9c7 100644
--- a/net/nss_ldap/Makefile
+++ b/net/nss_ldap/Makefile
@@ -56,6 +56,8 @@ post-patch:
@${REINPLACE_CMD} -e 's,/etc/ldap\.,${PREFIX}/etc/nss_ldap.,g' \
-e 's,/etc/openldap/ldap\.,${PREFIX}/etc/openldap/ldap.,g' \
${WRKSRC}/ldap.conf
+ @${REINPLACE_CMD} 's,#!/usr/bin/perl,#!${PERL},' \
+ ${WRKSRC}/vers_string
@${REINPLACE_CMD} 's,/etc/ldap\.,${PREFIX}/etc/nss_ldap.,g' \
${WRKSRC}/${MAN5}