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)
This commit is contained in:
parent
6e9ebf3092
commit
a27e36769d
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/branches/2020Q1/; revision=526605
@ -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>
|
||||
|
Loading…
Reference in New Issue
Block a user