<pre style='margin:0'>
Renee Otten (reneeotten) pushed a commit to branch master
in repository macports-ports.
</pre>
<p><a href="https://github.com/macports/macports-ports/commit/715a1cb2ccedd3434643c0b17a8e97125be8de83">https://github.com/macports/macports-ports/commit/715a1cb2ccedd3434643c0b17a8e97125be8de83</a></p>
<pre style="white-space: pre; background: #F8F8F8"><span style='display:block; white-space:pre;color:#808000;'>commit 715a1cb2ccedd3434643c0b17a8e97125be8de83
</span>Author: Steven Thomas Smith <s.t.smith@ieee.org>
AuthorDate: Sat Feb 17 05:29:46 2024 -0500
<span style='display:block; white-space:pre;color:#404040;'> PG haskell_cabal: default master_sites for non-GitHub ports
</span>---
_resources/port1.0/group/haskell_cabal-1.0.tcl | 16 ++++++++++------
1 file changed, 10 insertions(+), 6 deletions(-)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/_resources/port1.0/group/haskell_cabal-1.0.tcl b/_resources/port1.0/group/haskell_cabal-1.0.tcl
</span><span style='display:block; white-space:pre;color:#808080;'>index 984b8aaac50..3f06252a328 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/_resources/port1.0/group/haskell_cabal-1.0.tcl
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/_resources/port1.0/group/haskell_cabal-1.0.tcl
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -166,7 +166,11 @@ options haskell_cabal.bin \
</span> haskell_cabal.installdir_args \
haskell_cabal.bindirs
<span style='display:block; white-space:pre;background:#ffe0e0;'>-default master_sites {https://hackage.haskell.org/package/${subport}-${version}}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# default master_sites for non-GitHub ports
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+if {![info exists github.master_sites]} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ default master_sites \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ {https://hackage.haskell.org/package/${subport}-${version}}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+}
</span>
default haskell_cabal.bin {[haskell_cabal.getcabalbin]}
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -385,15 +389,15 @@ post-destroot {
</span> && ([exec openssl dgst -ripemd160 ${binfile}.slash_hack] \
ne [exec openssl dgst -ripemd160 ${binfile}])} {
# gsed created a different file of the same size
<span style='display:block; white-space:pre;background:#ffe0e0;'>- delete ${binfile}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ delete ${binfile}
</span> xinstall -m 0755 \
${binfile}.slash_hack \
${binfile}
<span style='display:block; white-space:pre;background:#e0ffe0;'>+ if {${configure.build_arch} eq {arm64}} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ system "codesign -f -s - ${binfile}"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span> }
<span style='display:block; white-space:pre;background:#ffe0e0;'>- delete ${binfile}.slash_hack
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- if {${configure.build_arch} eq {arm64}} {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- system "codesign -f -s - ${binfile}"
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ delete ${binfile}.slash_hack
</span> }
}
}
</pre><pre style='margin:0'>
</pre>