<pre style='margin:0'>
Herby Gillot (herbygillot) pushed a commit to branch master
in repository macports-ports.

</pre>
<p><a href="https://github.com/macports/macports-ports/commit/ca12d40138380bdbbef18140c8916ff2fe03be1d">https://github.com/macports/macports-ports/commit/ca12d40138380bdbbef18140c8916ff2fe03be1d</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 ca12d401383 git: fix destroot on Tiger
</span>ca12d401383 is described below

<span style='display:block; white-space:pre;color:#808000;'>commit ca12d40138380bdbbef18140c8916ff2fe03be1d
</span>Author: Evan Miller <emmiller@gmail.com>
AuthorDate: Sat Apr 30 07:38:25 2022 -0400

<span style='display:block; white-space:pre;color:#404040;'>    git: fix destroot on Tiger
</span>---
 devel/git/Portfile | 10 ++++++++--
 1 file changed, 8 insertions(+), 2 deletions(-)

<span style='display:block; white-space:pre;color:#808080;'>diff --git a/devel/git/Portfile b/devel/git/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index 8f1a302fa56..b72366cc020 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/devel/git/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/devel/git/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -161,8 +161,14 @@ post-destroot {
</span>     xinstall -m 755 ${worksrcpath}/contrib/subtree/git-subtree.sh \
         ${destroot}${prefix}/libexec/git-core/git-subtree
 
<span style='display:block; white-space:pre;background:#ffe0e0;'>-    system "echo exec wish \"'${guidir}/Resources/Scripts/AppMain.tcl'\" '\"$@\"' > \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-        '${destroot}${guidir}/MacOS/Wish'"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+    # Tiger doesn't build the GUI, so check for its existence before mucking with it
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+    if {[file exists "${destroot}${guidir}"]} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+        # The executable could be "Wish" or "Wish Shell", depending on the OS version
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+        set wish_executable [exec defaults read ${destroot}${guidir}/Info CFBundleExecutable]
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+        # The system-provided Tk is now deprecated, so use the MacPorts version if available.
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+        system "echo exec wish \"'${guidir}/Resources/Scripts/AppMain.tcl'\" '\"$@\"' > \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+            '${destroot}${guidir}/MacOS/${wish_executable}'"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+    }
</span> 
     file delete -force ${share_path}/contrib
     copy ${worksrcpath}/contrib ${share_path}
</pre><pre style='margin:0'>

</pre>