mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-25 04:43:33 +00:00
`%' has no special meaning for sed(1) in RE, so that there is no need to put
in into square brackets.
This commit is contained in:
parent
918ce346fa
commit
e7b985a6bf
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=63204
@ -52,7 +52,7 @@ pre-patch:
|
||||
's|[(]libdir[)]/pkgconfig|(prefix)/libdata/pkgconfig|g'
|
||||
|
||||
post-patch:
|
||||
@${REINPLACE_CMD} -e 's|[%][%]LOCALBASE[%][%]|${LOCALBASE}|g' \
|
||||
@${REINPLACE_CMD} -e 's|%%LOCALBASE%%|${LOCALBASE}|g' \
|
||||
${WRKSRC}/catalog.c ${WRKSRC}/xmlcatalog.c
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
Loading…
Reference in New Issue
Block a user