1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-24 00:45:52 +00:00

Use ports infrastructure provided PERL5 variable to locate Perl

interpreter.
This commit is contained in:
Cy Schubert 2004-02-21 04:39:05 +00:00
parent 09854e6d4c
commit b41c8531f6
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=101550
4 changed files with 4 additions and 24 deletions

View File

@ -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)

View File

@ -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)

View File

@ -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)

View File

@ -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)