<pre style='margin:0'>
Zero King (l2dy) pushed a commit to branch master
in repository macports-ports.
</pre>
<p><a href="https://github.com/macports/macports-ports/commit/69864399de7ecc715488858aa48054fafa35cfd1">https://github.com/macports/macports-ports/commit/69864399de7ecc715488858aa48054fafa35cfd1</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 6986439 cmake PG: fix typo in comment
</span>6986439 is described below
<span style='display:block; white-space:pre;color:#808000;'>commit 69864399de7ecc715488858aa48054fafa35cfd1
</span>Author: Zero King <l2dy@macports.org>
AuthorDate: Tue May 30 16:30:33 2017 +0000
<span style='display:block; white-space:pre;color:#404040;'> cmake PG: fix typo in comment
</span>---
_resources/port1.0/group/cmake-1.0.tcl | 13 ++++++-------
_resources/port1.0/group/cmake-1.1.tcl | 13 ++++++-------
2 files changed, 12 insertions(+), 14 deletions(-)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/_resources/port1.0/group/cmake-1.0.tcl b/_resources/port1.0/group/cmake-1.0.tcl
</span><span style='display:block; white-space:pre;color:#808080;'>index e7071a3..a35d36e 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/_resources/port1.0/group/cmake-1.0.tcl
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/_resources/port1.0/group/cmake-1.0.tcl
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -110,13 +110,12 @@ pre-configure {
</span> # But adding -I${prefix}/include to CFLAGS/CXXFLAGS is a bad idea.
# If any other flags are needed, we need to add them.
<span style='display:block; white-space:pre;background:#ffe0e0;'>- # In addition, CMake provides build-type-specific flags for
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- # Release (-O3 -DNDEBUG), Debug (-g), MinSizeRel (-Os -DNDEBUG), and
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- # RelWithDebInfo (-O2 -g -DNDEBUG). If the configure.optflags have been
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- # set (-Os by default), we have to remove the optimization flags from the
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- # from the concerned Release build type so that configure.optflags
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- # gets honored (Debug used by the +debug variant does not set
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- # optimization flags by default).
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # In addition, CMake provides build-type-specific flags for Release (-O3
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # -DNDEBUG), Debug (-g), MinSizeRel (-Os -DNDEBUG), and RelWithDebInfo
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # (-O2 -g -DNDEBUG). If the configure.optflags have been set (-Os by
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # default), we have to remove the optimization flags from the concerned
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # Release build type so that configure.optflags gets honored (Debug used
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # by the +debug variant does not set optimization flags by default).
</span> if {${configure.optflags} ne ""} {
configure.args-append -DCMAKE_C_FLAGS_RELEASE="-DNDEBUG" \
-DCMAKE_CXX_FLAGS_RELEASE="-DNDEBUG"
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/_resources/port1.0/group/cmake-1.1.tcl b/_resources/port1.0/group/cmake-1.1.tcl
</span><span style='display:block; white-space:pre;color:#808080;'>index f270295..f4fcbc9 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/_resources/port1.0/group/cmake-1.1.tcl
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/_resources/port1.0/group/cmake-1.1.tcl
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -130,13 +130,12 @@ pre-configure {
</span> # But adding -I${prefix}/include to CFLAGS/CXXFLAGS is a bad idea.
# If any other flags are needed, we need to add them.
<span style='display:block; white-space:pre;background:#ffe0e0;'>- # In addition, CMake provides build-type-specific flags for
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- # Release (-O3 -DNDEBUG), Debug (-g), MinSizeRel (-Os -DNDEBUG), and
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- # RelWithDebInfo (-O2 -g -DNDEBUG). If the configure.optflags have been
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- # set (-Os by default), we have to remove the optimization flags from the
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- # from the concerned Release build type so that configure.optflags
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- # gets honored (Debug used by the +debug variant does not set
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- # optimization flags by default).
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # In addition, CMake provides build-type-specific flags for Release (-O3
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # -DNDEBUG), Debug (-g), MinSizeRel (-Os -DNDEBUG), and RelWithDebInfo
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # (-O2 -g -DNDEBUG). If the configure.optflags have been set (-Os by
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # default), we have to remove the optimization flags from the concerned
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # Release build type so that configure.optflags gets honored (Debug used
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # by the +debug variant does not set optimization flags by default).
</span> # NB: more recent CMake versions (>=3?) no longer take the env. variables into
# account, and thus require explicit use of ${configure.c*flags} below:
# if {${configure.optflags} ne ""} {
</pre><pre style='margin:0'>
</pre>