<pre style='margin:0'>
Joshua Root (jmroot) pushed a commit to branch master
in repository macports-ports.
</pre>
<p><a href="https://github.com/macports/macports-ports/commit/2ed580c7db83f8e40818ef8969aacfcc79171b5b">https://github.com/macports/macports-ports/commit/2ed580c7db83f8e40818ef8969aacfcc79171b5b</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 2ed580c7db8 itk: find current itcl dir
</span>2ed580c7db8 is described below
<span style='display:block; white-space:pre;color:#808000;'>commit 2ed580c7db83f8e40818ef8969aacfcc79171b5b
</span>Author: Joshua Root <jmr@macports.org>
AuthorDate: Fri Mar 10 01:33:39 2023 +1100
<span style='display:block; white-space:pre;color:#404040;'> itk: find current itcl dir
</span>---
x11/itk/Portfile | 13 ++++++++++++-
1 file changed, 12 insertions(+), 1 deletion(-)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/x11/itk/Portfile b/x11/itk/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index 84eae867f49..0407bac3679 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/x11/itk/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/x11/itk/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -20,9 +20,20 @@ checksums rmd160 641adb6354e4db234e8104175d0a45039d9c9e7e \
</span> depends_lib port:tk
configure.args --with-tcl=${prefix}/lib \
<span style='display:block; white-space:pre;background:#ffe0e0;'>- --with-itcl=${prefix}/lib/itcl4.2.2 \
</span> --with-tk=${prefix}/lib
<span style='display:block; white-space:pre;background:#e0ffe0;'>+pre-configure {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # itcl dir has a changing version number in it
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ set itcldirs [glob -directory ${prefix}/lib itcl*]
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ set itcldirs [lsort -decreasing -command vercmp $itcldirs]
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ foreach d ${itcldirs} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ if {[file isfile ${d}/itclConfig.sh] && [registry_file_registered ${d}/itclConfig.sh] eq "tcl"} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ configure.args-append --with-itcl=${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> destroot.args INSTALL=install
post-destroot {
# Conflicts with tk's "toplevel" man page on case-insensitive systems
</pre><pre style='margin:0'>
</pre>