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) diff --git a/security/krb5-17/Makefile b/security/krb5-17/Makefile index 29b4813f80d7..a06417381112 100644 --- a/security/krb5-17/Makefile +++ b/security/krb5-17/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) diff --git a/security/krb5-appl/Makefile b/security/krb5-appl/Makefile index 29b4813f80d7..a06417381112 100644 --- a/security/krb5-appl/Makefile +++ b/security/krb5-appl/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) diff --git a/security/krb5/Makefile b/security/krb5/Makefile index 29b4813f80d7..a06417381112 100644 --- a/security/krb5/Makefile +++ b/security/krb5/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)