From 6cae80d883f2218103311c76bec6e000e6cf4c21 Mon Sep 17 00:00:00 2001 From: marcus Date: Sat, 13 Mar 2010 23:47:09 +0000 Subject: Use the cannonical path to Perl in the vers_string script. PR: 144108 --- security/pam_ldap/Makefile | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'security') diff --git a/security/pam_ldap/Makefile b/security/pam_ldap/Makefile index 127b5517f7a7..eb0a054b9963 100644 --- a/security/pam_ldap/Makefile +++ b/security/pam_ldap/Makefile @@ -33,6 +33,10 @@ MAN5= pam_ldap.5 post-extract: @${FIND} ${WRKSRC} -type f | ${XARGS} ${TOUCH} -f +post-patch: + @${REINPLACE_CMD} -e 's|/usr/bin/perl|${LOCALBASE}/bin/perl|' \ + ${WRKSRC}/vers_string + post-install: @${SED} -e 's|%%PREFIX%%|${PREFIX}|g' < ${PKGDIR}/pkg-message \ | /usr/bin/fmt 75 79 > ${PKGMESSAGE} -- cgit