aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoe Marcus Clarke <marcus@FreeBSD.org>2010-03-13 23:47:09 +0000
committerJoe Marcus Clarke <marcus@FreeBSD.org>2010-03-13 23:47:09 +0000
commit51cdce3ab04e03854de5672b5d31a5b943f52861 (patch)
treee75c92c0405a421223ae227bd45a842f9d85fd16
parent88654e6060b50b66d2e81741fc3e8eb8a0b60f5d (diff)
downloadports-51cdce3ab04e03854de5672b5d31a5b943f52861.tar.gz
ports-51cdce3ab04e03854de5672b5d31a5b943f52861.zip
Use the cannonical path to Perl in the vers_string script.
PR: 144108
Notes
Notes: svn path=/head/; revision=251017
-rw-r--r--security/pam_ldap/Makefile4
1 files changed, 4 insertions, 0 deletions
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}