<pre style='margin:0'>
Marcus Calhoun-Lopez (MarcusCalhoun-Lopez) pushed a commit to branch master
in repository macports-ports.
</pre>
<p><a href="https://github.com/macports/macports-ports/commit/a00bf1336b00af6cca2cd995adc3e74cfcaa94b6">https://github.com/macports/macports-ports/commit/a00bf1336b00af6cca2cd995adc3e74cfcaa94b6</a></p>
<pre style="white-space: pre; background: #F8F8F8"><span style='display:block; white-space:pre;color:#808000;'>commit a00bf1336b00af6cca2cd995adc3e74cfcaa94b6
</span>Author: Marcus Calhoun-Lopez <mcalhoun@macports.org>
AuthorDate: Fri May 5 11:55:28 2023 -0700
<span style='display:block; white-space:pre;color:#404040;'> openlibm: respect MacPorts flags & fix universal
</span>---
math/openlibm/Portfile | 19 ++++++-------------
1 file changed, 6 insertions(+), 13 deletions(-)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/math/openlibm/Portfile b/math/openlibm/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index c5d8df6eaa4..41bdac9dd62 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/math/openlibm/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/math/openlibm/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -2,9 +2,11 @@
</span>
PortSystem 1.0
PortGroup github 1.0
<span style='display:block; white-space:pre;background:#e0ffe0;'>+PortGroup makefile 1.0
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+PortGroup muniversal 1.1
</span>
github.setup JuliaMath openlibm 0.8.1 v
<span style='display:block; white-space:pre;background:#ffe0e0;'>-revision 0
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+revision 1
</span> categories math devel
license MIT ISCL BSD LGPL-2.1+
maintainers {mcalhoun @MarcusCalhoun-Lopez} openmaintainer
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -21,23 +23,14 @@ supported_archs arm64 x86_64 i386 ppc
</span>
patchfiles-append patch-ppc.diff
<span style='display:block; white-space:pre;background:#ffe0e0;'>-use_configure no
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-# duplicate setting from Make.inc
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-configure.optflags-replace -Os -O3
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-build.args-append CC="${configure.cc}" \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- CPPFLAGS="${configure.cppflags}" \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- CFLAGS="${configure.cflags} [get_canonical_archflags cc]" \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- LDFLAGS="${configure.ldflags} [get_canonical_archflags cc]"
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span> foreach phase {build destroot test} {
${phase}.args-append prefix=${prefix}
}
<span style='display:block; white-space:pre;background:#ffe0e0;'>-# TODO: use muniversal PG
</span> foreach phase {build destroot test} {
<span style='display:block; white-space:pre;background:#ffe0e0;'>- ${phase}.args-append ARCH=${configure.build_arch}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ foreach arch ${muniversal.architectures} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ${phase}.args.${arch}-append ARCH=${arch}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span> }
if {[string match *clang* ${configure.compiler}]} {
</pre><pre style='margin:0'>
</pre>