<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<div class="moz-cite-prefix">On 2017-07-03 23:19, Ken wrote:<br>
</div>
<blockquote type="cite"
cite="mid:20170703213013.4692.70994@braeburn.macports.org">
<pre style="margin:0">Mojca Miklavec (mojca) pushed a commit to branch master
in repository macports-ports.
</pre>
<p><a
href="https://github.com/macports/macports-ports/commit/1dab0d51d17febdd682ff263502055df81e31b0e"
moz-do-not-send="true">https://github.com/macports/macports-ports/commit/1dab0d51d17febdd682ff263502055df81e31b0e</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 1dab0d5 cxx11 1.1 PortGroup: add support for PowerPC
</span>1dab0d5 is described below
<span style="display:block; white-space:pre;color:#808000;">commit 1dab0d51d17febdd682ff263502055df81e31b0e
</span>Author: Ken Cunningham <a class="moz-txt-link-rfc2396E" href="mailto:ken.cunningham.webuse@gmail.com"><ken.cunningham.webuse@gmail.com></a>
AuthorDate: Sat Jul 1 16:53:10 2017 -0700
<span style="display:block; white-space:pre;color:#404040;"> cxx11 1.1 PortGroup: add support for PowerPC
</span><span style="display:block; white-space:pre;color:#404040;">
</span><span style="display:block; white-space:pre;color:#404040;"> Add support for C++11 on PowerPC using gcc6.
</span><span style="display:block; white-space:pre;color:#404040;"> Blacklisting macports-clang-4.0 which doesn't work on PPC yet.
</span><span style="display:block; white-space:pre;color:#404040;">
</span><span style="display:block; white-space:pre;color:#404040;"> See: <a class="moz-txt-link-freetext" href="https://trac.macports.org/ticket/54374">https://trac.macports.org/ticket/54374</a>
</span>---
_resources/port1.0/group/cxx11-1.1.tcl | 7 +++++++
1 file changed, 7 insertions(+)
<span style="display:block; white-space:pre;color:#808080;">diff --git a/_resources/port1.0/group/cxx11-1.1.tcl b/_resources/port1.0/group/cxx11-1.1.tcl
</span><span style="display:block; white-space:pre;color:#808080;">index b72a9e7..0f1b1cf 100644
</span><span style="display:block; white-space:pre;background:#e0e0ff;">--- a/_resources/port1.0/group/cxx11-1.1.tcl
</span><span style="display:block; white-space:pre;background:#e0e0ff;">+++ b/_resources/port1.0/group/cxx11-1.1.tcl
</span><span style="display:block; white-space:pre;background:#e0e0e0;">@@ -56,6 +56,13 @@ if {${cxx_stdlib} eq "libstdc++" } {
</span>
# see <a class="moz-txt-link-freetext" href="https://trac.macports.org/ticket/53194">https://trac.macports.org/ticket/53194</a>
configure.cxx_stdlib macports-libstdc++
<span style="display:block; white-space:pre;background:#e0ffe0;">+
</span><span style="display:block; white-space:pre;background:#e0ffe0;">+ platform darwin powerpc {
</span><span style="display:block; white-space:pre;background:#e0ffe0;">+ # ports will build on powerpc with gcc6, gcc4ABI-compatible
</span><span style="display:block; white-space:pre;background:#e0ffe0;">+ puts "PowerPC C++11 ports are compiling with gcc6. EXPERIMENTAL."</span></pre>
</blockquote>
Do not use puts in Portfile context, always use the appropriate ui_*
functions.<br>
This will spill into every output of commands when this port is
evaluated (port info, portindex) and it will break other scripts.<br>
<br>
<a class="moz-txt-link-freetext" href="https://build.macports.org/builders/ports-10.5_ppc_legacy-watcher/builds/6619/steps/subports/logs/stdio">https://build.macports.org/builders/ports-10.5_ppc_legacy-watcher/builds/6619/steps/subports/logs/stdio</a><br>
<br>
Rainer<br>
</body>
</html>