Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 21 Feb 2020 04:01:02 +0000 (UTC)
From:      Kyle Evans <kevans@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r526604 - head/www/p5-Gantry
Message-ID:  <202002210401.01L412M7047314@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: kevans
Date: Fri Feb 21 04:01:02 2020
New Revision: 526604
URL: https://svnweb.freebsd.org/changeset/ports/526604

Log:
  www/p5-Gantry: correctly escape $
  
  In make(1), "$$" is the escaped version of "$", rather than the expected
  "\$". this expression was getting passed through to ${REINPLACE_CMD} as
  "s,\NV{..." rathern than the expected "s,$ENV{..." -- bug #229925 makes \N
  an illegal expression, as ordinary characters will be disallowed from being
  escaped in preparation for future changes to grant some of these escape
  sequences GNU-extended behavior.
  
  PR:		240310
  Approved by:	koobs (mentor), bapt (mentor)
  Approved by:	portmgr (maintainer timeout: 4 months, blanket: bugfix)
  MFH:		2020Q1 (blanket: bugfix)
  Differential Revision:	https://reviews.freebsd.org/D23701

Modified:
  head/www/p5-Gantry/Makefile

Modified: head/www/p5-Gantry/Makefile
==============================================================================
--- head/www/p5-Gantry/Makefile	Fri Feb 21 03:02:21 2020	(r526603)
+++ head/www/p5-Gantry/Makefile	Fri Feb 21 04:01:02 2020	(r526604)
@@ -41,7 +41,7 @@ WWWDIR=		${PREFIX}/www/${PORTNAME:tl}
 
 post-patch:
 	${REINPLACE_CMD} -e 's,/home/httpd/html/gantry,${WWWDIR},g' \
-		-e 's,\$ENV{'GANTRY_TEMPLATE_PATH'},${WWWDIR},g' \
+		-e 's,$$ENV{'GANTRY_TEMPLATE_PATH'},${WWWDIR},g' \
 	    ${WRKSRC}/Build.PL
 
 .include <bsd.port.mk>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202002210401.01L412M7047314>