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

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

Log:
  MFH: r526604
  
  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)
  Differential Revision:	https://reviews.freebsd.org/D23701
  
  Approved by:	ports-secteam (blanket: bugfix)

Modified:
  branches/2020Q1/www/p5-Gantry/Makefile
Directory Properties:
  branches/2020Q1/   (props changed)

Modified: branches/2020Q1/www/p5-Gantry/Makefile
==============================================================================
--- branches/2020Q1/www/p5-Gantry/Makefile	Fri Feb 21 04:01:02 2020	(r526604)
+++ branches/2020Q1/www/p5-Gantry/Makefile	Fri Feb 21 04:01:57 2020	(r526605)
@@ -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.01L41vCA049289>