Refer to perl binary as ${PERL}, not ${PERL5}, so the program continues to

work after perl update.
This commit is contained in:
Dmitry Sivachenko 2004-01-01 22:13:38 +00:00
parent dd20ba70e2
commit 56507b4d52
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=97049

View file

@ -18,7 +18,7 @@ NO_BUILD= yes
MAN1= calamaris.1
post-patch:
@ ${PERL} -pi -e 's#/usr/bin/perl#${PERL5}#' ${WRKSRC}/calamaris
@ ${PERL} -pi -e 's#/usr/bin/perl#${PERL}#' ${WRKSRC}/calamaris
do-install:
@ ${INSTALL_MAN} ${WRKSRC}/calamaris.1 ${PREFIX}/man/man1/calamaris.1