aboutsummaryrefslogtreecommitdiffstats
path: root/net/nss_ldap
diff options
context:
space:
mode:
authorrm <rm@FreeBSD.org>2012-01-11 23:31:37 +0800
committerrm <rm@FreeBSD.org>2012-01-11 23:31:37 +0800
commit80022abfcc8c51a5f2234b0abc399a9fa0eb61e3 (patch)
tree021433e9adf29b424be863a2065cc69b139046e2 /net/nss_ldap
parent08884b064dec62a98a79cd3f777e0f64ae0a815e (diff)
downloadfreebsd-ports-gnome-80022abfcc8c51a5f2234b0abc399a9fa0eb61e3.tar.gz
freebsd-ports-gnome-80022abfcc8c51a5f2234b0abc399a9fa0eb61e3.tar.zst
freebsd-ports-gnome-80022abfcc8c51a5f2234b0abc399a9fa0eb61e3.zip
- fix build when perl built with USE_PERL set to off (no symlink in /usr/bin)
PR: 163687 Submitted by: Mel Flynn <mel at datakitty.lan.rachie.is-a-geek dot net> Approved by: maintainer (timeout, 2 weeks)
Diffstat (limited to 'net/nss_ldap')
-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}