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 --- security/racoon2/Makefile | 1 - 1 file changed, 1 deletion(-) (limited to 'security/racoon2/Makefile') diff --git a/security/racoon2/Makefile b/security/racoon2/Makefile index 546fbab97d9f..408c038a7096 100644 --- a/security/racoon2/Makefile +++ b/security/racoon2/Makefile @@ -61,7 +61,6 @@ post-patch-DOCS-on: post-configure: @${FIND} ${WRKSRC} -name Makefile | ${XARGS} ${REINPLACE_CMD} -e '/INSTALL/s|\$$([a-z].*dir)|${STAGEDIR}&|' @${REINPLACE_CMD} -e '/INSTALL/s|\$$(prefix)|${STAGEDIR}&|' ${WRKSRC}/pskgen/Makefile - @${REINPLACE_CMD} -e '1s|/usr/bin/perl|${PERL}|' ${WRKSRC}/pskgen/pskgen @${REINPLACE_CMD} -e '/^prefix=/s|/usr/local|${STAGEDIR}${PREFIX}|;/\/var\/run\/racoon2/d' ${WRKSRC}/samples/Makefile post-install: -- cgit v1.2.3