<pre style='margin:0'>
Ryan Carsten Schmidt (ryandesign) pushed a commit to branch master
in repository macports-ports.
</pre>
<p><a href="https://github.com/macports/macports-ports/commit/5194e08fa11bc79fc9291de7fd5d14b8ab0d3721">https://github.com/macports/macports-ports/commit/5194e08fa11bc79fc9291de7fd5d14b8ab0d3721</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 5194e08fa11 windowmaker: Use a single reinplace instead of three
</span>5194e08fa11 is described below
<span style='display:block; white-space:pre;color:#808000;'>commit 5194e08fa11bc79fc9291de7fd5d14b8ab0d3721
</span>Author: Ryan Carsten Schmidt <ryandesign@macports.org>
AuthorDate: Wed Aug 7 16:20:38 2024 -0500
<span style='display:block; white-space:pre;color:#404040;'> windowmaker: Use a single reinplace instead of three
</span><span style='display:block; white-space:pre;color:#404040;'>
</span><span style='display:block; white-space:pre;color:#404040;'> Also expand the list instead of using a foreach loop and suppress
</span><span style='display:block; white-space:pre;color:#404040;'> warnings when reinplace didn't change anything.
</span>---
x11/windowmaker/Portfile | 6 +-----
1 file changed, 1 insertion(+), 5 deletions(-)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/x11/windowmaker/Portfile b/x11/windowmaker/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index 4dcaff6ff61..ef2259dd7c6 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/x11/windowmaker/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/x11/windowmaker/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -48,11 +48,7 @@ post-patch {
</span> set fl [glob -directory ${worksrcpath} WindowMaker/*menu*]
lappend fl ${worksrcpath}/WindowMaker/Defaults/WindowMaker.in \
${worksrcpath}/WPrefs.app/Menu.c ${worksrcpath}/WPrefs.app/Paths.c
<span style='display:block; white-space:pre;background:#ffe0e0;'>- foreach i $fl {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- reinplace "s|/usr/share|${prefix}/share|g" $i
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- reinplace "s|/usr/local/share|${prefix}/share|g" $i
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- reinplace "s|/opt/kde2/share|${prefix}/share|g" $i
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ reinplace -E -q "s,(/usr|/usr/local|/opt/kde2)/share,${prefix}/share,g" {*}${fl}
</span> }
configure.env-append \
</pre><pre style='margin:0'>
</pre>