aboutsummaryrefslogtreecommitdiffstats
path: root/mail/sqlgrey
diff options
context:
space:
mode:
authorMathieu Arnold <mat@FreeBSD.org>2015-12-18 01:19:48 +0800
committerMathieu Arnold <mat@FreeBSD.org>2015-12-18 01:19:48 +0800
commit7c47779cb9cc1f12908949c26b831e944047ed17 (patch)
treecc6e929ebf67eee2cc8ce1692ea0663387b3a559 /mail/sqlgrey
parentb4c4d6656e7b913544a3cbd1bea7f40f7cad2e74 (diff)
downloadfreebsd-ports-gnome-7c47779cb9cc1f12908949c26b831e944047ed17.tar.gz
freebsd-ports-gnome-7c47779cb9cc1f12908949c26b831e944047ed17.tar.zst
freebsd-ports-gnome-7c47779cb9cc1f12908949c26b831e944047ed17.zip
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
Diffstat (limited to 'mail/sqlgrey')
-rw-r--r--mail/sqlgrey/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/mail/sqlgrey/Makefile b/mail/sqlgrey/Makefile
index 6e486c4810be..96e2d85997e7 100644
--- a/mail/sqlgrey/Makefile
+++ b/mail/sqlgrey/Makefile
@@ -57,7 +57,7 @@ RUN_DEPENDS+= p5-Date-Calc>=0:${PORTSDIR}/devel/p5-Date-Calc
.endif
post-patch:
- @${REINPLACE_CMD} -e 's-#!/usr/bin/perl-#!${PERL}-' -e 's!/etc/sqlgrey!${PREFIX}/${ETCDIR}!g' ${WRKSRC}/sqlgrey
+ @${REINPLACE_CMD} -e 's!/etc/sqlgrey!${PREFIX}/${ETCDIR}!g' ${WRKSRC}/sqlgrey
do-install:
@${INSTALL_SCRIPT} ${WRKSRC}/sqlgrey-logstats.pl ${STAGEDIR}/${PREFIX}/bin