From b41c8531f6ed9105b49845d530bc6a5265679ede Mon Sep 17 00:00:00 2001 From: Cy Schubert Date: Sat, 21 Feb 2004 04:39:05 +0000 Subject: Use ports infrastructure provided PERL5 variable to locate Perl interpreter. --- security/krb5-16/Makefile | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) (limited to 'security/krb5-16') diff --git a/security/krb5-16/Makefile b/security/krb5-16/Makefile index 29b4813f80d7..a06417381112 100644 --- a/security/krb5-16/Makefile +++ b/security/krb5-16/Makefile @@ -88,13 +88,8 @@ post-extract: .endif post-patch: -.if ${OSVERSION} >= 500000 - @${REINPLACE_CMD} -e '1s,^#!\/usr\/athena,#!${LOCALBASE},' \ + @${REINPLACE_CMD} -e '1s,^#!\/usr\/athena/bin/perl,#!${PERL5},' \ ${WRKSRC}/../doc/man2html -.else - @${REINPLACE_CMD} -e '1s,^#!\/usr\/athena,#!\/usr,' \ - ${WRKSRC}/../doc/man2html -.endif pre-build: .if !defined(KRB5_KRB4_COMPAT) -- cgit v1.2.3