<pre style='margin:0'>
Michael Dickens (michaelld) pushed a commit to branch master
in repository macports-ports.
</pre>
<p><a href="https://github.com/macports/macports-ports/commit/f631f0dc47591688beb4bb28a1aa4265e10a0a44">https://github.com/macports/macports-ports/commit/f631f0dc47591688beb4bb28a1aa4265e10a0a44</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 f631f0d gr-ieee802-11: use cxx11 1.1 PortGroup for c++11 compliance.
</span>f631f0d is described below
<span style='display:block; white-space:pre;color:#808000;'>commit f631f0dc47591688beb4bb28a1aa4265e10a0a44
</span>Author: Michael Dickens <michaelld@macports.org>
AuthorDate: Wed Feb 22 11:08:43 2017 -0500
<span style='display:block; white-space:pre;color:#404040;'> gr-ieee802-11: use cxx11 1.1 PortGroup for c++11 compliance.
</span>---
science/gr-ieee802-11/Portfile | 28 +---------------------------
1 file changed, 1 insertion(+), 27 deletions(-)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/science/gr-ieee802-11/Portfile b/science/gr-ieee802-11/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index 311b150..109e2ca 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/science/gr-ieee802-11/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/science/gr-ieee802-11/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -4,6 +4,7 @@ PortSystem 1.0
</span> PortGroup cmake 1.0
PortGroup github 1.0
PortGroup active_variants 1.1
<span style='display:block; white-space:pre;background:#e0ffe0;'>+PortGroup cxx11 1.1
</span>
github.setup bastibl gr-ieee802-11 0f5215d921582b1bf2c3c75c9d5027eb2ed98a70
version 20161011
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -60,30 +61,3 @@ configure.args-append \
</span> post-patch {
reinplace "s/c++0x/c++11/" ${worksrcpath}/CMakeLists.txt
}
<span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-if {${configure.cxx_stdlib} eq "libstdc++"} {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- # *clang* when using libstdc++ do not seem to support C++11;
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- # C++11 support seems to need GCC 4.7+ when using libstdc++;
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- # could use C++0x support on GCC4.[56], but just ignore it since
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- # there are newer compilers already in place as defaults.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- # Blacklist GCC compilers not supporting C++11 and all CLANG.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- # This is probably not necessary, but it's good practice.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- compiler.blacklist-append *clang* {*gcc-3*} {*gcc-4.[0-6]}
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- # and whitelist those we do want to use. wish there were a better way.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- # these will be used in the order provided.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- compiler.whitelist macports-gcc-4.9 macports-gcc-4.8 macports-gcc-4.7
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-} else {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- # using libc++;
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- # Blacklist Clang not supporting C++11 in some form and all GCC.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- # Just use the cxx11 PortGroup for this specific case.
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- PortGroup cxx11 1.0
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-}
</span></pre><pre style='margin:0'>
</pre>