1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-02 06:03:50 +00:00

From Tom Hukins:

I notice it looks for a perl executable in /usr/bin/perl.  However, a
perl executable may not exist here, so this small patch changes the
port to use the PERL5 variable to determine the correct location of
perl as determined by the ports system.
This commit is contained in:
Edwin Groothuis 2010-05-27 12:58:20 +00:00
parent 956efdb6fa
commit 07689f0ab7
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=255178

View File

@ -7,7 +7,7 @@
PORTNAME= pkg_tree
PORTVERSION= 1.1
PORTREVISION= 1
PORTREVISION= 2
CATEGORIES= ports-mgmt
MASTER_SITES= http://www.mavetju.org/download/
@ -23,5 +23,7 @@ post-patch:
@${REINPLACE_CMD} -e 's|__PREFIX__|${PREFIX}|g ; \
s|__INSTALL_MAN__|${INSTALL_MAN}|g ; \
s|__INSTALL_SCRIPT__|${INSTALL_SCRIPT}|g' ${WRKSRC}/Makefile
@${REINPLACE_CMD} -e 's|#!/usr/bin/perl -w|#!${PERL5} -w|' \
${WRKSRC}/pkg_tree
.include <bsd.port.mk>