<pre style='margin:0'>
NicosPavlov pushed a commit to branch master
in repository macports-ports.
</pre>
<p><a href="https://github.com/macports/macports-ports/commit/8516e6e601c76c57bb26de1224077ed40f74682b">https://github.com/macports/macports-ports/commit/8516e6e601c76c57bb26de1224077ed40f74682b</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 8516e6e kdevplatform, kdevelop: use new flag to use c++11 (fixes https://trac.macports.org/ticket/55781)
</span>8516e6e is described below
<span style='display:block; white-space:pre;color:#808000;'>commit 8516e6e601c76c57bb26de1224077ed40f74682b
</span>Author: Nicolas Pavillon <pavillon.nicolas@gmail.com>
AuthorDate: Sat Nov 9 22:04:48 2019 +0900
<span style='display:block; white-space:pre;color:#404040;'> kdevplatform, kdevelop: use new flag to use c++11 (fixes https://trac.macports.org/ticket/55781)
</span>---
kde/kdevelop/Portfile | 14 ++++----------
kde/kdevplatform/Portfile | 12 ++++--------
2 files changed, 8 insertions(+), 18 deletions(-)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/kde/kdevelop/Portfile b/kde/kdevelop/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index 0a45100..5140545 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/kde/kdevelop/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/kde/kdevelop/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -4,11 +4,10 @@ PortSystem 1.0
</span> PortGroup kde4 1.1
PortGroup muniversal 1.0
PortGroup compiler_blacklist_versions 1.0
<span style='display:block; white-space:pre;background:#ffe0e0;'>-PortGroup cxx11 1.1
</span>
name kdevelop
version 4.7.4
<span style='display:block; white-space:pre;background:#ffe0e0;'>-revision 1
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+revision 2
</span> categories kde kde4
platforms darwin
license GPL-2+
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -22,6 +21,9 @@ long_description KDevelop is a free, open source IDE (Integrated \
</span> languages. It is based on KDevPlatform, and the KDE \
and Qt libraries and is under development since 1998.
<span style='display:block; white-space:pre;background:#e0ffe0;'>+# use C++11
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+compiler.cxx_standard 2011
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span> homepage http://www.kdevelop.org/
master_sites kde:stable/kdevelop/${version}/
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -61,13 +63,5 @@ pre-configure {
</span> ${worksrcpath}/debuggers/gdb/printers/CMakeLists.txt
}
<span style='display:block; white-space:pre;background:#ffe0e0;'>-#Using c++11 for Lion and higher in case of clang 64-bit
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-if {${configure.compiler} eq "clang" && ${os.platform} eq "darwin" && ${os.major} >= 11} {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- lappend merger_configure_args(x86_64) -DCMAKE_CXX_FLAGS='-stdlib=libc++ -std=c++11' -DHAVE_UNORDERED_MAP=1
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- if {${build_arch} eq "x86_64" && ![variant_isset universal]} {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- configure.args-append -DCMAKE_CXX_FLAGS="-stdlib=libc++ -std=c++11" -DHAVE_UNORDERED_MAP=1
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- }
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-}
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span> livecheck.url ${kde4.mirror}${name}
livecheck.regex (\\d+(\\.\\d+)+)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/kde/kdevplatform/Portfile b/kde/kdevplatform/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index ec4deed..26cd42f 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/kde/kdevplatform/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/kde/kdevplatform/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -4,11 +4,10 @@ PortSystem 1.0
</span> PortGroup kde4 1.1
PortGroup muniversal 1.0
PortGroup compiler_blacklist_versions 1.0
<span style='display:block; white-space:pre;background:#ffe0e0;'>-PortGroup cxx11 1.1
</span>
name kdevplatform
version 1.7.4
<span style='display:block; white-space:pre;background:#ffe0e0;'>-revision 3
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+revision 4
</span> categories kde kde4
platforms darwin
license GPL-2+
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -21,6 +20,9 @@ long_description KDevPlatform is a free, open source set of libraries \
</span> is planned to be used by programs like: KDevelop, \
Quanta, Kile, KTechLab ... etc.
<span style='display:block; white-space:pre;background:#e0ffe0;'>+# use C++11
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+compiler.cxx_standard 2011
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span> set kdevelopversion 4.7.4
homepage http://www.kdevelop.org/
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -52,12 +54,6 @@ variant subversion description {Add subversion support for kdevelop} {
</span> if {${configure.compiler} ne "clang"} {
#Adding -fexceptions, required by gcc compilers
patchfiles-append patch-languageCMakeLists.diff
<span style='display:block; white-space:pre;background:#ffe0e0;'>-} elseif {${os.platform} eq "darwin" && ${os.major} >= 11} {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- #Using c++11 for Lion and higher in case of clang 64-bit
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- lappend merger_configure_args(x86_64) -DCMAKE_CXX_FLAGS='-stdlib=libc++ -std=c++11' -DHAVE_UNORDERED_MAP=1
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- if {${build_arch} eq "x86_64" && ![variant_isset universal]} {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- configure.args-append -DCMAKE_CXX_FLAGS="-stdlib=libc++ -std=c++11" -DHAVE_UNORDERED_MAP=1
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- }
</span> }
livecheck.type none
</pre><pre style='margin:0'>
</pre>