<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/38a54e7f5cb95bca3591a4f4e9edd96dd3c719af">https://github.com/macports/macports-ports/commit/38a54e7f5cb95bca3591a4f4e9edd96dd3c719af</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 38a54e7f5cb iwidgets: Use correct path to itcl and itk
</span>38a54e7f5cb is described below

<span style='display:block; white-space:pre;color:#808000;'>commit 38a54e7f5cb95bca3591a4f4e9edd96dd3c719af
</span>Author: Ryan Carsten Schmidt <ryandesign@macports.org>
AuthorDate: Mon Jan 29 00:00:46 2024 -0600

<span style='display:block; white-space:pre;color:#404040;'>    iwidgets: Use correct path to itcl and itk
</span><span style='display:block; white-space:pre;color:#404040;'>    
</span><span style='display:block; white-space:pre;color:#404040;'>    Closes: https://trac.macports.org/ticket/69217
</span>---
 x11/iwidgets/Portfile | 16 ++++++++++++++--
 1 file changed, 14 insertions(+), 2 deletions(-)

<span style='display:block; white-space:pre;color:#808080;'>diff --git a/x11/iwidgets/Portfile b/x11/iwidgets/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index f0b376e424f..ea15b2bdb6e 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/x11/iwidgets/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/x11/iwidgets/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -27,10 +27,22 @@ patchfiles          configure.patch
</span> 
 configure.args      --with-tcl=${prefix}/lib \
                     --with-tk=${prefix}/lib \
<span style='display:block; white-space:pre;background:#ffe0e0;'>-                    --with-itcl=${prefix}/lib/itcl4.2.2 \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-                    --with-itk=${prefix}/lib/itk4.2.2 \
</span>                     --mandir=${prefix}/share/man
 
<span style='display:block; white-space:pre;background:#e0ffe0;'>+pre-configure {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+    # itcl and itk dirs contain changing version number
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+    foreach [list i p] [list itcl tcl itk itk] {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+        set dirs [glob -directory ${prefix}/lib ${i}*]
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+        set dirs [lsort -decreasing -command vercmp ${dirs}]
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+        foreach d ${dirs} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+            if {[file isfile ${d}/${i}Config.sh] && [registry_file_registered ${d}/${i}Config.sh] eq ${p}} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+                configure.args-append --with-${i}=${d}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+                break
</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><span style='display:block; white-space:pre;background:#e0ffe0;'>+}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span> build {}
 
 livecheck.type      regex
</pre><pre style='margin:0'>

</pre>