<pre style='margin:0'>
Joshua Root (jmroot) pushed a commit to branch master
in repository macports-ports.
</pre>
<p><a href="https://github.com/macports/macports-ports/commit/a04e9e5577ac7be4b2b4a306dc396a6b8ffcc619">https://github.com/macports/macports-ports/commit/a04e9e5577ac7be4b2b4a306dc396a6b8ffcc619</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 a04e9e5 upx: Various build env fixes
</span>a04e9e5 is described below
<span style='display:block; white-space:pre;color:#808000;'>commit a04e9e5577ac7be4b2b4a306dc396a6b8ffcc619
</span>Author: Joshua Root <jmr@macports.org>
AuthorDate: Fri Jan 27 14:12:40 2017 +1100
<span style='display:block; white-space:pre;color:#404040;'> upx: Various build env fixes
</span><span style='display:block; white-space:pre;color:#404040;'>
</span><span style='display:block; white-space:pre;color:#404040;'> Restore universal variant, use correct compiler and CXXFLAGS, disable
</span><span style='display:block; white-space:pre;color:#404040;'> use of -Werror.
</span><span style='display:block; white-space:pre;color:#404040;'>
</span><span style='display:block; white-space:pre;color:#404040;'> Closes #209.
</span>---
archivers/upx/Portfile | 6 ++++++
1 file changed, 6 insertions(+)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/archivers/upx/Portfile b/archivers/upx/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index c4ce838..0e76c02 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/archivers/upx/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/archivers/upx/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -38,6 +38,12 @@ post-configure {
</span> reinplace "s| -Wvla||" ${worksrcpath}/src/Makefile
}
<span style='display:block; white-space:pre;background:#e0ffe0;'>+variant universal {}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+build.env CXX="${configure.cxx}" \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ CXXFLAGS_OPTIMIZE="${configure.cxxflags} [get_canonical_archflags cxx]" \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ CXXFLAGS_WERROR=
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span> destroot {
xinstall -m 755 ${worksrcpath}/src/upx.out ${destroot}${prefix}/bin/upx
</pre><pre style='margin:0'>
</pre>