<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/9574a28f9e56748792b6fcdab8415ca7d9c6f795">https://github.com/macports/macports-ports/commit/9574a28f9e56748792b6fcdab8415ca7d9c6f795</a></p>
<pre style="white-space: pre; background: #F8F8F8"><span style='display:block; white-space:pre;color:#808000;'>commit 9574a28f9e56748792b6fcdab8415ca7d9c6f795
</span>Author: Marcus Calhoun-Lopez <mcalhoun@macports.org>
AuthorDate: Mon Jan 30 11:18:10 2023 -0700
<span style='display:block; white-space:pre;color:#404040;'> scotch: use muniversal PG version 1.1
</span>---
science/scotch/Portfile | 18 +++++++-----------
1 file changed, 7 insertions(+), 11 deletions(-)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/science/scotch/Portfile b/science/scotch/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index 893a7a63b77..9f584bdc02a 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/science/scotch/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/science/scotch/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -2,7 +2,7 @@
</span>
PortSystem 1.0
PortGroup mpi 1.0
<span style='display:block; white-space:pre;background:#ffe0e0;'>-PortGroup muniversal 1.0
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+PortGroup muniversal 1.1
</span> PortGroup cmake 1.1
PortGroup gitlab 1.0
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -48,16 +48,12 @@ configure.args-append -DINSTALL_METIS_HEADERS=OFF
</span> # Build a shared library, not static!
configure.args-append -DBUILD_SHARED_LIBS=ON
<span style='display:block; white-space:pre;background:#ffe0e0;'>-if {[variant_isset universal]} {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- merger-post-destroot {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- foreach arch ${configure.universal_archs} {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- if {${arch} ne ${build_arch}} {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- xinstall -d -m 0755 ${destroot}-${arch}${prefix}/include/${arch}
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- foreach hfile {scotchf.h ptscotchf.h} {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- if {[file exists ${destroot}-${arch}${prefix}/include/${hfile}]} {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- move ${destroot}-${arch}${prefix}/include/${hfile} ${destroot}-${arch}${prefix}/include/${arch}
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- }
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+post-destroot {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ if {${muniversal.build_arch} ne ${configure.build_arch}} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ xinstall -d -m 0755 ${destroot}${prefix}/include/${muniversal.build_arch}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ foreach hfile {scotchf.h ptscotchf.h} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ if {[file exists ${destroot}${prefix}/include/${hfile}]} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ move ${destroot}${prefix}/include/${hfile} ${destroot}${prefix}/include/${muniversal.build_arch}
</span> }
}
}
</pre><pre style='margin:0'>
</pre>