From 7c47779cb9cc1f12908949c26b831e944047ed17 Mon Sep 17 00:00:00 2001 From: Mathieu Arnold Date: Thu, 17 Dec 2015 17:19:48 +0000 Subject: Fix usage of ${PERL5}. ${PERL5} points to a specific version of perl, say, perl5.22.1, it is fine to use it in a ports Makefile to do Perly things, but ports using it must use ${PERL}, that points to /usr/local/bin/perl so that if the minor version is updated, the shebang keep working. While there, make some ports use shebangfix, regen a few patches, and bump PORTREVISION where a shebang went from PERL5 to PERL. PR: 205367 With hat: portmgr Sponsored by: Absolight --- mail/assp/Makefile | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'mail/assp') diff --git a/mail/assp/Makefile b/mail/assp/Makefile index f8fd638c54f2..29eedd03698b 100644 --- a/mail/assp/Makefile +++ b/mail/assp/Makefile @@ -15,7 +15,8 @@ RUN_DEPENDS= p5-Net-DNS>=0.68:${PORTSDIR}/dns/p5-Net-DNS \ p5-libwww>=6.04:${PORTSDIR}/www/p5-libwww \ p5-HTML-Parser>=3.69:${PORTSDIR}/www/p5-HTML-Parser -USES= perl5 zip:infozip +USES= perl5 zip:infozip shebangfix +SHEBANG_FILES= *.pl NO_BUILD= yes USE_PERL5= run @@ -122,9 +123,6 @@ RUN_DEPENDS+= p5-IO-Socket-INET6>=2.69:${PORTSDIR}/net/p5-IO-Socket-INET6 EXTRACT_AFTER_ARGS= -d ${PORTNAME}-${PORTVERSION} -post-patch: - @${REINPLACE_CMD} -e 's|/usr/bin/perl|${PERL}|' ${WRKSRC}/*.pl - do-install: ${MKDIR} ${STAGEDIR}${DATADIR}/images \ ${STAGEDIR}${DATADIR}/logs ${STAGEDIR}${DATADIR}/reports -- cgit v1.2.3