aboutsummaryrefslogtreecommitdiffstats
path: root/net
diff options
context:
space:
mode:
authorRuslan Makhmatkhanov <rm@FreeBSD.org>2012-01-11 23:31:37 +0800
committerRuslan Makhmatkhanov <rm@FreeBSD.org>2012-01-11 23:31:37 +0800
commit165894bc19a87baacc2184ff11976684e20b4197 (patch)
treef6005a917a11f1ab2df7258aa7ad5d3063f0d253 /net
parent8203b92bd53ccd37ae726f8ac3a86e002cc9489d (diff)
downloadfreebsd-ports-gnome-165894bc19a87baacc2184ff11976684e20b4197.tar.gz
freebsd-ports-gnome-165894bc19a87baacc2184ff11976684e20b4197.tar.zst
freebsd-ports-gnome-165894bc19a87baacc2184ff11976684e20b4197.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')
-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}