<pre style='margin:0'>
Marius Schamschula (Schamschula) pushed a commit to branch master
in repository macports-ports.
</pre>
<p><a href="https://github.com/macports/macports-ports/commit/22442dcfcad4daaa81316967c2ae93a9d0acbd18">https://github.com/macports/macports-ports/commit/22442dcfcad4daaa81316967c2ae93a9d0acbd18</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 22442dcfcad octave PG: use compiler.cxx_standard 2011
</span>22442dcfcad is described below
<span style='display:block; white-space:pre;color:#808000;'>commit 22442dcfcad4daaa81316967c2ae93a9d0acbd18
</span>Author: Marius Schamschula <mps@macports.org>
AuthorDate: Sat Dec 19 08:03:50 2020 -0600
<span style='display:block; white-space:pre;color:#404040;'> octave PG: use compiler.cxx_standard 2011
</span>---
_resources/port1.0/group/octave-1.0.tcl | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/_resources/port1.0/group/octave-1.0.tcl b/_resources/port1.0/group/octave-1.0.tcl
</span><span style='display:block; white-space:pre;color:#808080;'>index 9a096c02272..a6f5850e595 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/_resources/port1.0/group/octave-1.0.tcl
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/_resources/port1.0/group/octave-1.0.tcl
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -18,9 +18,10 @@ options octave.module octave.config_h
</span> default octave.config_h {no}
# some header files from Octave require C++-11
<span style='display:block; white-space:pre;background:#ffe0e0;'>-PortGroup cxx11 1.1
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+compiler.cxx_standard 2011
</span> # overrule cxx11 PortGroup because octave can use GCC compilers for Fortran
# even if configure.cxx_stdlib is libc++
<span style='display:block; white-space:pre;background:#e0ffe0;'>+PortGroup compiler_blacklist_versions 1.0
</span> compiler.blacklist-delete *gcc*
# override universal_setup found in portutil.tcl so it uses muniversal PortGroup
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -105,6 +106,7 @@ post-extract {
</span> delete ${workpath}/${octave.module}
move [glob ${workpath}/*-${version}] ${workpath}/${octave.module}
}
<span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span> # set worksrcdir_name [exec /bin/ls ${workpath} | grep -v -E "^\\."]
# if {[string equal ${worksrcdir_name} ${octave.module}] == 0} {
# # work-around for case-insensitive file systems when the
</pre><pre style='margin:0'>
</pre>