<pre style='margin:0'>
Ryan Schmidt (ryandesign) pushed a commit to branch master
in repository macports-ports.

</pre>
<p><a href="https://github.com/macports/macports-ports/commit/515944f3d0f537b9a390fb3e879816406f473700">https://github.com/macports/macports-ports/commit/515944f3d0f537b9a390fb3e879816406f473700</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 515944f3d0f ghc: Check os.platform before checking os.major
</span>515944f3d0f is described below

<span style='display:block; white-space:pre;color:#808000;'>commit 515944f3d0f537b9a390fb3e879816406f473700
</span>Author: Ryan Schmidt <ryandesign@macports.org>
AuthorDate: Tue Apr 27 13:59:26 2021 -0500

<span style='display:block; white-space:pre;color:#404040;'>    ghc: Check os.platform before checking os.major
</span>---
 lang/ghc/Portfile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

<span style='display:block; white-space:pre;color:#808080;'>diff --git a/lang/ghc/Portfile b/lang/ghc/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index 99ed9287d80..96767e4ddb5 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/lang/ghc/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/lang/ghc/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -92,7 +92,7 @@ extract.only        ${distname}-x86_64-apple-darwin${extract.suffix} \
</span> # If legacy support is active, patch the bootstrap binaries to redirect libSystem.B.dylib
 # to MacPorts wrapped implementation which reexports the system library, adding
 # each missing in each OS.
<span style='display:block; white-space:pre;background:#ffe0e0;'>-if { ${os.major} <= [legacysupport::get_newest_darwin_with_missing_symbols] } {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+if {${os.platform} eq "darwin" && ${os.major} <= [legacysupport::get_newest_darwin_with_missing_symbols]} {
</span>     depends_lib-append [legacysupport::get_dependency]
     post-extract {
         foreach f [ exec find ${workpath}/ -type f -and -name "*.dylib" -or -name "*ghc*" -and -not -name "*stderr"] {
</pre><pre style='margin:0'>

</pre>