<pre style='margin:0'>
Ryan Schmidt (ryandesign) pushed a commit to branch master
in repository macports-ports.
</pre>
<p><a href="https://github.com/macports/macports-ports/commit/a006f81b119684002a2d5d5b78d06855980513f3">https://github.com/macports/macports-ports/commit/a006f81b119684002a2d5d5b78d06855980513f3</a></p>
<pre style="white-space: pre; background: #F8F8F8">The following commit(s) were added to refs/heads/master by this push:
<span style='display:block; white-space:pre;color:#404040;'> new a006f81 nanovg: Use fs-traverse instead of exec find
</span>a006f81 is described below
<span style='display:block; white-space:pre;color:#808000;'>commit a006f81b119684002a2d5d5b78d06855980513f3
</span>Author: Ryan Schmidt <ryandesign@macports.org>
AuthorDate: Tue May 26 03:15:07 2020 -0500
<span style='display:block; white-space:pre;color:#404040;'> nanovg: Use fs-traverse instead of exec find
</span><span style='display:block; white-space:pre;color:#404040;'>
</span><span style='display:block; white-space:pre;color:#404040;'> And remove unnecessary escaping in the reinplace.
</span>---
graphics/nanovg/Portfile | 13 +++++++++----
1 file changed, 9 insertions(+), 4 deletions(-)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/graphics/nanovg/Portfile b/graphics/nanovg/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index 00d409e..b4d1bec 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/graphics/nanovg/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/graphics/nanovg/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -51,10 +51,15 @@ depends_lib-append port:nanovg
</span> }
post-patch {
<span style='display:block; white-space:pre;background:#ffe0e0;'>- foreach f [ \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- exec find ${worksrcpath}/src -name "*.c" -or -name "*.m" \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- ] {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- reinplace -q -E "s|\(#.*include \)\"\(.*\)\"|\\1<\\2>|g" $f
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ fs-traverse f ${worksrcpath}/src {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ if {[file isfile ${f}]} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ switch [file extension ${f}] {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ .c -
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ .m {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ reinplace -q -E {s|(#.*include )"(.*)"|\1<\2>|g} ${f}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span> }
}
</pre><pre style='margin:0'>
</pre>