svn commit: r526604 - head/www/p5-Gantry
Kyle Evans
kevans at FreeBSD.org
Fri Feb 21 04:01:02 UTC 2020
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>
More information about the svn-ports-all
mailing list