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/dkimproxy/Makefile | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) (limited to 'mail/dkimproxy') diff --git a/mail/dkimproxy/Makefile b/mail/dkimproxy/Makefile index 9e0df0b8feab..f517e5ba2e14 100644 --- a/mail/dkimproxy/Makefile +++ b/mail/dkimproxy/Makefile @@ -21,7 +21,8 @@ RUN_DEPENDS:= ${BUILD_DEPENDS} OPTIONS_DEFINE= IPV6 GNU_CONFIGURE= yes -USES= perl5 +USES= perl5 shebangfix +SHEBANG_FILES= scripts/* NO_ARCH= yes USE_RC_SUBR= dkimproxy_in dkimproxy_out @@ -39,8 +40,4 @@ IPV6_EXTRA_PATCHES= ${FILESDIR}/extra-patch-scripts-dkimproxy.out IPV6_EXTRA_PATCHES= ${FILESDIR}/extra-patch-scripts-dkimproxy_in.conf.example IPV6_EXTRA_PATCHES= ${FILESDIR}/extra-patch-scripts-dkimproxy_out.conf.example -post-patch: - @${GREP} -Ril 'perl' ${WRKDIR} | ${XARGS} ${REINPLACE_CMD} -i '' \ - -e 's|/usr/bin/perl|${PERL}|' -e 's|@PERL@|${PERL}|' - .include -- cgit v1.2.3