On Tue, Aug 14, 2018 at 10:41:43PM +0800, blubee blubeeme wrote:
> This one is fairly straight forward, you can simply replace that string
> with a regex command;
> This is an example of running a replace command for strings after the patch
> phase of the build;
> 
> post-patch:
>       @${REINPLACE_CMD} -e 's|for Linux|for FreeBSD|g' ${WRKSRC}/README

Patching files in post-patch using sed SHOULD only be used to replace
dynamic content, never static content.

-- 
Mathieu Arnold

Attachment: signature.asc
Description: PGP signature

Reply via email to