#51988: ansible @2.1.0.0.1 new upstream version 2.1.1.0-1 is available --------------------------+--------------------------- Reporter: lpancescu@… | Owner: adfernandes@… Type: update | Status: new Priority: Normal | Milestone: Component: ports | Version: Resolution: | Keywords: Port: ansible | --------------------------+--------------------------- Comment (by larryv@…): That’s an unorthodox file to be patching, to say the least. You can try tweaking the patch phase: {{{#!patch diff --git a/dports/sysutils/ansible/Portfile b/dports/sysutils/ansible/Portfile index 44c6325..dd5b4a9 100644 --- a/dports/sysutils/ansible/Portfile +++ b/dports/sysutils/ansible/Portfile @@ -50,8 +50,8 @@ post-fetch { patch { fs-traverse f ${worksrcpath} { if {[file isfile ${f}] && ![regexp {\.(ico|png|eot|ttf|woff|reg)$} ${f} match] && ![regexp {\.git} ${f} match] && ![regexp {v2/test/test.yml} ${f} match]} { - reinplace "s#/etc/ansible#${prefix}/etc/ansible#g" ${f} - reinplace "s#/usr/share/ansible#${prefix}/share/ansible#g" ${f} + reinplace -locale C "s#/etc/ansible#${prefix}/etc/ansible#g" ${f} + reinplace -locale C "s#/usr/share/ansible#${prefix}/share/ansible#g" ${f} } } } }}} -- Ticket URL: <https://trac.macports.org/ticket/51988#comment:4> MacPorts <https://www.macports.org/> Ports system for OS X