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:
parent
09854e6d4c
commit
b41c8531f6
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=101550
@ -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)
|
||||
|
@ -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)
|
||||
|
@ -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)
|
||||
|
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user