From 80022abfcc8c51a5f2234b0abc399a9fa0eb61e3 Mon Sep 17 00:00:00 2001 From: rm Date: Wed, 11 Jan 2012 15:31:37 +0000 Subject: - fix build when perl built with USE_PERL set to off (no symlink in /usr/bin) PR: 163687 Submitted by: Mel Flynn Approved by: maintainer (timeout, 2 weeks) --- net/nss_ldap/Makefile | 2 ++ 1 file changed, 2 insertions(+) (limited to 'net/nss_ldap') 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} -- cgit