aboutsummaryrefslogtreecommitdiffstats
path: root/security/pam_ldap
diff options
context:
space:
mode:
authormarcus <marcus@FreeBSD.org>2010-03-14 07:47:09 +0800
committermarcus <marcus@FreeBSD.org>2010-03-14 07:47:09 +0800
commit6cae80d883f2218103311c76bec6e000e6cf4c21 (patch)
treeb0e20f87b7831b695565e8cd1e0837b9c8b03443 /security/pam_ldap
parente619a50e4b990693c69163aa52062fa395d97e66 (diff)
downloadfreebsd-ports-gnome-6cae80d883f2218103311c76bec6e000e6cf4c21.tar.gz
freebsd-ports-gnome-6cae80d883f2218103311c76bec6e000e6cf4c21.tar.zst
freebsd-ports-gnome-6cae80d883f2218103311c76bec6e000e6cf4c21.zip
Use the cannonical path to Perl in the vers_string script.
PR: 144108
Diffstat (limited to 'security/pam_ldap')
-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}