<pre style='margin:0'>
Ken (kencu) pushed a commit to branch master
in repository macports-ports.
</pre>
<p><a href="https://github.com/macports/macports-ports/commit/ba83ec2b098adb22006aaf2791a10a0bead87201">https://github.com/macports/macports-ports/commit/ba83ec2b098adb22006aaf2791a10a0bead87201</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 ba83ec2b098 ghc/cabal: test for extract.rename before using
</span>ba83ec2b098 is described below
<span style='display:block; white-space:pre;color:#808000;'>commit ba83ec2b098adb22006aaf2791a10a0bead87201
</span>Author: Ken Cunningham <kencu@macports.org>
AuthorDate: Sat Feb 4 08:48:22 2023 -0800
<span style='display:block; white-space:pre;color:#404040;'> ghc/cabal: test for extract.rename before using
</span>---
lang/cabal/Portfile | 3 ++-
lang/ghc/Portfile | 5 ++++-
2 files changed, 6 insertions(+), 2 deletions(-)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/lang/cabal/Portfile b/lang/cabal/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index 305852bd26f..d4d37dd3671 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/lang/cabal/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/lang/cabal/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -98,8 +98,9 @@ if {${name} eq ${subport}} {
</span>
extract.only-append \
${distfile_github}
<span style='display:block; white-space:pre;background:#e0ffe0;'>+if {[exists extract.rename]} {
</span> extract.rename yes
<span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+}
</span> variant prebuilt \
description {This variant is deprecated.} {
ui_error "Please install the port ${name}-prebuilt."
<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 1424f2baeb6..572a60ebce1 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;'>@@ -344,7 +344,9 @@ subport ghc-prebuilt {
</span> }
extract.only ${ghc_distname}${extract.suffix}
<span style='display:block; white-space:pre;background:#e0ffe0;'>+if {[exists extract.rename]} {
</span> extract.rename yes
<span style='display:block; white-space:pre;background:#e0ffe0;'>+}
</span>
# Build requires C11
compiler.c_standard 2011
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -395,8 +397,9 @@ subport hadrian {
</span> distfiles [lindex ${ghc_source_checksums} 0]
checksums {*}${ghc_source_checksums}
extract.only [lindex ${ghc_source_checksums} 0]
<span style='display:block; white-space:pre;background:#e0ffe0;'>+if {[exists extract.rename]} {
</span> extract.rename yes
<span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+}
</span> set worksrcpath ${workpath}/${worksrcdir}/${subport}
variant stack \
</pre><pre style='margin:0'>
</pre>