<pre style='margin:0'>
Ken (kencu) pushed a commit to branch master
in repository macports-ports.
</pre>
<p><a href="https://github.com/macports/macports-ports/commit/661a95121afae0ece0505f21897158570dfed502">https://github.com/macports/macports-ports/commit/661a95121afae0ece0505f21897158570dfed502</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 661a95121af cmake-bootstrap: disable ncurses GUI on Tiger
</span>661a95121af is described below
<span style='display:block; white-space:pre;color:#808000;'>commit 661a95121afae0ece0505f21897158570dfed502
</span>Author: Ken Cunningham <kencu@macports.org>
AuthorDate: Sun May 19 09:42:21 2024 -0700
<span style='display:block; white-space:pre;color:#404040;'> cmake-bootstrap: disable ncurses GUI on Tiger
</span><span style='display:block; white-space:pre;color:#404040;'>
</span><span style='display:block; white-space:pre;color:#404040;'> the ncurses header installed by macports ncurses port is difficult
</span><span style='display:block; white-space:pre;color:#404040;'> to avoid when building on Tiger, and there is an inconsistency with the
</span><span style='display:block; white-space:pre;color:#404040;'> system ncurses library.
</span><span style='display:block; white-space:pre;color:#404040;'>
</span><span style='display:block; white-space:pre;color:#404040;'> proper fixes are discussed in https://trac.macports.org/ticket/69990
</span><span style='display:block; white-space:pre;color:#404040;'> but for the time being, disable to the (unneceessary) cmake ncurses GUI
</span><span style='display:block; white-space:pre;color:#404040;'>
</span><span style='display:block; white-space:pre;color:#404040;'> see: https://trac.macports.org/ticket/69990
</span><span style='display:block; white-space:pre;color:#404040;'>
</span><span style='display:block; white-space:pre;color:#404040;'> NB. I'm not revbumping this port for everyone just for this, nor am I
</span><span style='display:block; white-space:pre;color:#404040;'> adding a special revbump for Tiger.
</span>---
devel/cmake-bootstrap/Portfile | 10 ++++++++++
.../files/patch-cmake-bootstrap-disable-curses-gui.diff | 11 +++++++++++
2 files changed, 21 insertions(+)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/devel/cmake-bootstrap/Portfile b/devel/cmake-bootstrap/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index d4f13a25e11..0c3f85d5138 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/devel/cmake-bootstrap/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/devel/cmake-bootstrap/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -37,6 +37,16 @@ patchfiles-append \
</span> patch-Source-cmFindLibraryCommand.cxx.diff \
patch-Source-kwsys-kwsysPlatformTestsCXX.cxx.diff
<span style='display:block; white-space:pre;background:#e0ffe0;'>+if {${os.platform} eq "darwin" && ${os.major} <= 9} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # there is a conflict in the way ncurses is incorporated into this build
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # that manifests on Tiger (probably only when building with apple-gcc42)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # the curses GUI is not needed for cmake-bootstrap to function, disable it
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # see: https://trac.macports.org/ticket/69990
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ patchfiles-append patch-cmake-bootstrap-disable-curses-gui.diff
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span> post-patch {
# installed cmake will search first in the main macports prefix for frameworks
reinplace "s|__ORIG_PREFIX__|${orig_prefix}|g" ${worksrcpath}/Modules/CMakeFindFrameworks.cmake
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/devel/cmake-bootstrap/files/patch-cmake-bootstrap-disable-curses-gui.diff b/devel/cmake-bootstrap/files/patch-cmake-bootstrap-disable-curses-gui.diff
</span>new file mode 100644
<span style='display:block; white-space:pre;color:#808080;'>index 00000000000..e6cf00dc445
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>--- /dev/null
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/devel/cmake-bootstrap/files/patch-cmake-bootstrap-disable-curses-gui.diff
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -0,0 +1,11 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+--- CMakeLists.txt.orig 2024-05-18 10:41:25.000000000 -0700
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++++ CMakeLists.txt 2024-05-18 10:47:50.000000000 -0700
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -576,7 +576,7 @@
</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;'>+ # Use curses?
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- if (UNIX)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ if (UNIX AND NOT APPLE)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # there is a bug in the Syllable libraries which makes linking ccmake fail, Alex
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ if(NOT CMAKE_SYSTEM_NAME MATCHES syllable)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ set(CURSES_NEED_NCURSES TRUE)
</span></pre><pre style='margin:0'>
</pre>