<pre style='margin:0'>
ra1nb0w (ra1nb0w) pushed a commit to branch master
in repository macports-ports.
</pre>
<p><a href="https://github.com/macports/macports-ports/commit/bdfb502356f558645222bb7b538406f36d5cd22e">https://github.com/macports/macports-ports/commit/bdfb502356f558645222bb7b538406f36d5cd22e</a></p>
<pre style="white-space: pre; background: #F8F8F8"><span style='display:block; white-space:pre;color:#808000;'>commit bdfb502356f558645222bb7b538406f36d5cd22e
</span>Author: Davide Gerhard <ra1nb0w@macports.org>
AuthorDate: Mon May 11 08:13:23 2020 +0200
<span style='display:block; white-space:pre;color:#404040;'> fldigi: add universal support
</span>---
science/fldigi/Portfile | 13 ++++++++++---
1 file changed, 10 insertions(+), 3 deletions(-)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/science/fldigi/Portfile b/science/fldigi/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index ca5d9ba..3aa8e2f 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/science/fldigi/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/science/fldigi/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -1,6 +1,7 @@
</span> # -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
PortSystem 1.0
<span style='display:block; white-space:pre;background:#e0ffe0;'>+PortGroup muniversal 1.0
</span>
name fldigi
version 4.1.12
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -45,10 +46,16 @@ if {${os.platform} eq "darwin" && ${os.major} <= 13} {
</span>
# We put this into a pre-configure block so it can be evaluated _after_ platform selection.
pre-configure {
<span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span> # enable optimization (SSE3) on all Intel hardwares
<span style='display:block; white-space:pre;background:#ffe0e0;'>- if {${build_arch} eq "i386" || ${build_arch} eq "x86_64"} {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- configure.args-append \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- --enable-optimizations=sse3
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ if {[variant_isset universal]} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ set merger_configure_args(x86_64) configure.args-append --enable-optimizations=sse3
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ set merger_configure_args(i386) configure.args-append --enable-optimizations=sse3
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ } else {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ switch -- ${configure.build_arch} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ x86_64 { configure.args-append --enable-optimizations=sse3 }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ i386 { configure.args-append --enable-optimizations=sse3 }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span> }
# Fix building for older macOS versions via MACOSX_DEPLOYMENT_TARGET
</pre><pre style='margin:0'>
</pre>